recoverPublicKey = function(hashbuf, sig) {
  return getPublicKey(hashbuf, sig, sig.i);
}
Recover a public key from a signature.
@param {Buffer} hashbuf
@param {Signature} sig Signature with the recovery factor i.
@returns {PublicKey}