Browse Source

fix tests

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
733c22c0fa
  1. 6
      lib/walletutils.js

6
lib/walletutils.js

@ -32,7 +32,11 @@ WalletUtils.signMessage = function(text, privKey) {
WalletUtils.verifyMessage = function(text, signature, pubKey) {
$.checkArgument(signature, text, pubKey);
$.checkArgument(text, pubKey);
if (!signature)
return false;
var pub = new PublicKey(pubKey);
var hash = WalletUtils.hashMessage(text);

Loading…
Cancel
Save