Implement Bitcoin's method for arbitrary message signatures.

This commit is contained in:
Stefan Thomas 2012-08-16 00:25:06 +02:00
parent 6bf363b9de
commit 9b2f94a028
4 changed files with 365 additions and 15 deletions

View file

@ -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());