diff options
| author | MarcoFalke <[email protected]> | 2016-04-10 16:54:28 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-04-10 20:35:57 +0200 |
| commit | faa41ee204124da19dcf1e5b8a3aef1e216bf5e6 (patch) | |
| tree | 4b33bcb6db57bcde90e12d1b0e9140c4d8cb32ba /qa/rpc-tests/getblocktemplate_proposals.py | |
| parent | Merge #7835: Version 2 transactions remain non-standard until CSV activates (diff) | |
| download | discoin-faa41ee204124da19dcf1e5b8a3aef1e216bf5e6.tar.xz discoin-faa41ee204124da19dcf1e5b8a3aef1e216bf5e6.zip | |
[qa] py2: Unfiddle strings into bytes explicitly
Diffstat (limited to 'qa/rpc-tests/getblocktemplate_proposals.py')
| -rwxr-xr-x | qa/rpc-tests/getblocktemplate_proposals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/getblocktemplate_proposals.py b/qa/rpc-tests/getblocktemplate_proposals.py index d2cb4ab8d..07bfe69c6 100755 --- a/qa/rpc-tests/getblocktemplate_proposals.py +++ b/qa/rpc-tests/getblocktemplate_proposals.py @@ -130,7 +130,7 @@ class GetBlockTemplateProposalTest(BitcoinTestFramework): # Test 5: Add an invalid tx to the end (non-duplicate) txlist.append(bytearray(txlist[0])) - txlist[-1][4+1] = b'\xff' + txlist[-1][4+1] = 0xff assert_template(node, tmpl, txlist, 'bad-txns-inputs-missingorspent') txlist.pop() |