Browse Source

Merge pull request #3 from jgarzik/test-fix

test/basic: fix test for VersionedData updates, s/hash/payload/
patch-2
Stephen Pair 12 years ago
parent
commit
a3a3f77a17
  1. 2
      test/basic.js

2
test/basic.js

@ -33,7 +33,7 @@ function test_decode_pub(b58, payload, isTestnet, addrType)
var addr = new Address(b58);
assert.equal(version, addr.version());
assert.equal(buf.toString(), addr.hash().toString());
assert.equal(buf.toString(), addr.payload().toString());
}
function is_valid(datum)

Loading…
Cancel
Save