diff --git a/integration_tests/helpers/util.js b/integration_tests/helpers/util.js index 5db4be6491..7a0da69ebc 100644 --- a/integration_tests/helpers/util.js +++ b/integration_tests/helpers/util.js @@ -209,6 +209,9 @@ const getTransactionOutputHash = function (output) { const buffer = Buffer.concat([ flags, toLittleEndian(parseInt(output.features.maturity), 64), + toLittleEndian(output.features.metadata.length, 64), + new Uint8Array(output.features.metadata), + new Uint8Array([0, 0, 0, 0, 0]), ]); let nopScriptBytes = Buffer.from([0x73]);