diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-24 14:02:43 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-10-24 22:01:47 -0400 |
commit | 7ff32a6b985054558851fc451879309a56753bdd (patch) | |
tree | 0657c6a563d9359550fe2124b24376c030e062a0 | |
parent | b72fbabe17a8639ffab2ef02ff84d0ee66c30fae (diff) |
qa: Add some actual witness in rpc_rawtransaction
Github-Pull: #14052
Rebased-From: fae040010deda9404b15b214cec2a099fb831253
-rwxr-xr-x | test/functional/rpc_rawtransaction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_rawtransaction.py b/test/functional/rpc_rawtransaction.py index 1e3ada26f8..8169f2b981 100755 --- a/test/functional/rpc_rawtransaction.py +++ b/test/functional/rpc_rawtransaction.py @@ -358,7 +358,7 @@ class RawTransactionsTest(BitcoinTestFramework): # decoderawtransaction tests # witness transaction - encrawtx = "010000000001010000000000000072c1a6a246ae63f74f931e8365e15a089c68d61900000000000000000000ffffffff0100e1f50500000000000000000000" + encrawtx = "010000000001010000000000000072c1a6a246ae63f74f931e8365e15a089c68d61900000000000000000000ffffffff0100e1f50500000000000102616100000000" decrawtx = self.nodes[0].decoderawtransaction(encrawtx, True) # decode as witness transaction assert_equal(decrawtx['vout'][0]['value'], Decimal('1.00000000')) assert_raises_rpc_error(-22, 'TX decode failed', self.nodes[0].decoderawtransaction, encrawtx, False) # force decode as non-witness transaction |