@@ -21,9 +21,9 @@ async function deepInputChain () {
2121 const path = [
2222 [
2323 { offset : 0 , hash : txid , txid : true , duplicate : false } ,
24- { offset : 1 , hash : 'otherHash1' , txid : false , duplicate : false }
24+ { offset : 1 , hash : 'aa' . repeat ( 32 ) , txid : false , duplicate : false }
2525 ] ,
26- [ { offset : 1 , hash : 'mergedHash1' , txid : false , duplicate : false } ]
26+ [ { offset : 1 , hash : 'bb' . repeat ( 32 ) , txid : false , duplicate : false } ]
2727 ]
2828 const merklePath = new MerklePath ( blockHeight , path )
2929 tx . merklePath = merklePath
@@ -65,9 +65,9 @@ async function wideInputSet () {
6565 const path = [
6666 [
6767 { offset : 0 , hash : txid , txid : true , duplicate : false } ,
68- { offset : 1 , hash : 'otherHash1' , txid : false , duplicate : false }
68+ { offset : 1 , hash : 'aa' . repeat ( 32 ) , txid : false , duplicate : false }
6969 ] ,
70- [ { offset : 1 , hash : 'mergedHash1' , txid : false , duplicate : false } ]
70+ [ { offset : 1 , hash : 'bb' . repeat ( 32 ) , txid : false , duplicate : false } ]
7171 ]
7272 const merklePath = new MerklePath ( blockHeight , path )
7373 sourceTx . merklePath = merklePath
@@ -110,9 +110,9 @@ async function largeInputsOutputs () {
110110 const path = [
111111 [
112112 { offset : 0 , hash : txid , txid : true , duplicate : false } ,
113- { offset : 1 , hash : 'otherHash1' , txid : false , duplicate : false }
113+ { offset : 1 , hash : 'aa' . repeat ( 32 ) , txid : false , duplicate : false }
114114 ] ,
115- [ { offset : 1 , hash : 'mergedHash1' , txid : false , duplicate : false } ]
115+ [ { offset : 1 , hash : 'bb' . repeat ( 32 ) , txid : false , duplicate : false } ]
116116 ]
117117 const merklePath = new MerklePath ( blockHeight , path )
118118 sourceTx . merklePath = merklePath
@@ -158,9 +158,9 @@ async function nestedInputs () {
158158 const path = [
159159 [
160160 { offset : 0 , hash : txid , txid : true , duplicate : false } ,
161- { offset : 1 , hash : 'otherHash1' , txid : false , duplicate : false }
161+ { offset : 1 , hash : 'aa' . repeat ( 32 ) , txid : false , duplicate : false }
162162 ] ,
163- [ { offset : 1 , hash : 'mergedHash1' , txid : false , duplicate : false } ]
163+ [ { offset : 1 , hash : 'bb' . repeat ( 32 ) , txid : false , duplicate : false } ]
164164 ]
165165 const merklePath = new MerklePath ( blockHeight , path )
166166 baseTx . merklePath = merklePath
0 commit comments