From 6ac055ec52afabc7fdb2f127d4ea552674599eae Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 10 Jul 2013 13:45:32 -0400 Subject: [PATCH] test/basic: fix test for VersionedData updates, s/hash/payload/ --- test/basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basic.js b/test/basic.js index db22bdd..29fb62e 100644 --- a/test/basic.js +++ b/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)