Skip to content

Commit 5ab3a88

Browse files
committed
fix
1 parent 05af30f commit 5ab3a88

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/neuron-wallet/tests/services/tx/transaction-generator.test.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,21 @@ describe('TransactionGenerator', () => {
110110
])
111111

112112
// @ts-ignore: Private method
113-
SystemScriptInfo.getInstance().multiSignOutPointInfo = new Map<string, OutPoint>([
113+
SystemScriptInfo.getInstance().legacyMultiSignOutPointInfo = new Map<string, OutPoint>([
114114
[
115115
'0x92b197aa1fba0f63633922c61c92375c9c074a93e85963554f5499fe1450d0e5',
116116
new OutPoint('0x71a7ba8fc96349fea0ed3a5c47992e3b4084b031a42264a018e0072e8172e46c', '1'),
117117
],
118118
])
119119

120+
// @ts-ignore: Private method
121+
SystemScriptInfo.getInstance().multiSignOutPointInfo = new Map<string, OutPoint>([
122+
[
123+
'0x92b197aa1fba0f63633922c61c92375c9c074a93e85963554f5499fe1450d0e5',
124+
new OutPoint('0x6888aa39ab30c570c2c30d9d5684d3769bf77265a7973211a3c087fe8efbf738', '1'),
125+
],
126+
])
127+
120128
const mockTipHeader = jest.fn()
121129
mockTipHeader.mockReturnValue(blockHeader)
122130
// @ts-ignore: Private method
@@ -764,7 +772,7 @@ describe('TransactionGenerator', () => {
764772
'ckt1qyqdpymnu202x3p4cnrrgek5czcdsg95xznswjr98y',
765773
'ckt1qyqwqcknusdreymrhhme00hg9af3pr5hcmwqzfxvda',
766774
].map(v => addressToScript(v).args),
767-
lockCodeHash: SystemScriptInfo.MULTI_SIGN_CODE_HASH,
775+
lockCodeHash: SystemScriptInfo.LEGACY_MULTI_SIGN_CODE_HASH,
768776
}),
769777
})
770778

0 commit comments

Comments
 (0)