From bd792d977895db1e0f8ac913f4d87e614c852226 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 25 Nov 2024 11:29:35 -0800 Subject: [PATCH] Include hash in block test vectors to be checked. --- test/TEST_VECTORS.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/TEST_VECTORS.js b/test/TEST_VECTORS.js index a44b809..431c783 100644 --- a/test/TEST_VECTORS.js +++ b/test/TEST_VECTORS.js @@ -41,7 +41,8 @@ export const NANO_TEST_VECTORS = Object.freeze({ link: "nano_1q3hqecaw15cjt7thbtxu3pbzr1eihtzzpzxguoc37bj1wc5ffoh7w74gi6p", key: "781186FB9EF17DB6E3D1056550D9FAE5D5BBADA6A6BC370E4CBB938B1DC71DA3", signature: "79240D56231EF1885F354473733AF158DC6DA50E53836179565A20C0BE89D473ED3FF8CD11545FF0ED162A0B2C4626FD6BF84518568F8BB965A4884C7C32C205", - work: "fbffed7c73b61367" + work: "fbffed7c73b61367", + hash: "8DB5C07E0E62E9DFE8558CB9BD654A115B02245B38CD369753CECE36DAD13C05" }, RECEIVE_BLOCK: { account: "nano_1e5aqegc1jb7qe964u4adzmcezyo6o146zb8hm6dft8tkp79za3sxwjym5rx", @@ -51,7 +52,8 @@ export const NANO_TEST_VECTORS = Object.freeze({ link: "CBC911F57B6827649423C92C88C0C56637A4274FF019E77E24D61D12B5338783", key: "781186FB9EF17DB6E3D1056550D9FAE5D5BBADA6A6BC370E4CBB938B1DC71DA3", signature: "EEFFE1EFCCC8F2F6F2F1B79B80ABE855939DD9D6341323186494ADEE775DAADB3B6A6A07A85511F2185F6E739C4A54F1454436E22255A542ED879FD04FEED001", - work: "c5cf86de24b24419" + work: "c5cf86de24b24419", + hash: "350D145570578A36D3D5ADE58DC7465F4CAAF257DD55BD93055FF826057E2CDD" }, OPEN_BLOCK: { account: "nano_1rawdji18mmcu9psd6h87qath4ta7iqfy8i4rqi89sfdwtbcxn57jm9k3q11", @@ -60,8 +62,8 @@ export const NANO_TEST_VECTORS = Object.freeze({ balance: "100", link: "5B2DA492506339C0459867AA1DA1E7EDAAC4344342FAB0848F43B46D248C8E99", key: "0ED82E6990A16E7AD2375AB5D54BEAABF6C676D09BEC74D9295FCAE35439F694", - signature: "903991714A55954D15C91DB75CAE2FBF1DD1A2D6DA5524AA2870F76B50A8FE8B4E3FBB53E46B9E82638104AAB3CFA71CFC36B7D676B3D6CAE84725D04E4C360F", - work: "08d09dc3405d9441" + work: "08d09dc3405d9441", + hash: "ED3BE5340CC9D62964B5A5F84375A06078CBEDC45FB5FA2926985D6E27D803BB" } }) -- 2.34.1