Skip to content

Commit ec4f7e4

Browse files
committed
[qa] Add second input to signrawtransaction test case
1 parent 691710a commit ec4f7e4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

qa/rpc-tests/signrawtransactions.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ def successful_signing_test(self):
2626
2727
1) The transaction has a complete set of signatures
2828
2) No script verification error occurred"""
29-
privKeys = ['cUeKHd5orzT3mz8P9pxyREHfsWtVfgsfDjiZZBcjUBAaGk1BTj7N']
29+
privKeys = ['cUeKHd5orzT3mz8P9pxyREHfsWtVfgsfDjiZZBcjUBAaGk1BTj7N', 'cVKpPfVKSJxKqVpE9awvXNWuLHCa5j5tiE7K6zbUSptFpTEtiFrA']
3030

3131
inputs = [
32-
# Valid pay-to-pubkey script
32+
# Valid pay-to-pubkey scripts
3333
{'txid': '9b907ef1e3c26fc71fe4a4b3580bc75264112f95050014157059c736f0202e71', 'vout': 0,
34-
'scriptPubKey': '76a91460baa0f494b38ce3c940dea67f3804dc52d1fb9488ac'}
34+
'scriptPubKey': '76a91460baa0f494b38ce3c940dea67f3804dc52d1fb9488ac'},
35+
{'txid': '83a4f6a6b73660e13ee6cb3c6063fa3759c50c9b7521d0536022961898f4fb02', 'vout': 0,
36+
'scriptPubKey': '76a914669b857c03a5ed269d5d85a1ffac9ed5d663072788ac'},
3537
]
3638

3739
outputs = {'mpLQjfK79b7CCV4VMJWEWAj5Mpx8Up5zxB': 0.1}

0 commit comments

Comments
 (0)