Implement Bitcoin's method for arbitrary message signatures.
This commit is contained in:
parent
6bf363b9de
commit
9b2f94a028
4 changed files with 365 additions and 15 deletions
src
|
@ -40,7 +40,7 @@ Bitcoin.Wallet = (function () {
|
|||
if ("string" === typeof pub) {
|
||||
pub = Crypto.util.base64ToBytes(pub);
|
||||
}
|
||||
key.pub = pub;
|
||||
key.setPub(pub);
|
||||
}
|
||||
|
||||
this.addressHashes.push(key.getBitcoinAddress().getHashBase64());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue