From 5d7d55d97f1251619911e4555a925cc03b50c7ed Mon Sep 17 00:00:00 2001 From: Martin Stefcek <35243812+Cifko@users.noreply.github.com> Date: Mon, 23 May 2022 16:03:21 +0200 Subject: [PATCH] fix: hash in cucumber (#4124) Description --- Fixes wrong hash in cucumber test. How Has This Been Tested? --- ` npm test -- --name "As a wallet I want to submit a transaction"` --- integration_tests/helpers/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/helpers/util.js b/integration_tests/helpers/util.js index 05c3415602..ef34cb7b6f 100644 --- a/integration_tests/helpers/util.js +++ b/integration_tests/helpers/util.js @@ -253,7 +253,7 @@ const getTransactionOutputHash = function (output) { // features.maturity Buffer.from([parseInt(output.features.maturity)]), // features.flags - Buffer.from([output.features.flags]), + Buffer.from(toLittleEndian(output.features.flags, 16)), ]); // features.parent_public_key features = Buffer.concat([