diff options
| author | Ross Nicoll <[email protected]> | 2019-07-13 19:11:28 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-07-13 19:23:36 +0000 |
| commit | dbfb33abe0dc57849975d9be25218907296a9954 (patch) | |
| tree | ae374a3500129bf833e909d406de040652abdcca /qa | |
| parent | Mark 1.14 ready for release (diff) | |
| download | discoin-dbfb33abe0dc57849975d9be25218907296a9954.tar.xz discoin-dbfb33abe0dc57849975d9be25218907296a9954.zip | |
Revert behaviour change in getauxblock
Change getauxblock to respond with a "target" field instead of "_target".
Diffstat (limited to 'qa')
| -rwxr-xr-x | qa/rpc-tests/getauxblock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/getauxblock.py b/qa/rpc-tests/getauxblock.py index b24cf45eb..cb44383e8 100755 --- a/qa/rpc-tests/getauxblock.py +++ b/qa/rpc-tests/getauxblock.py @@ -25,7 +25,7 @@ class GetAuxBlockTest (BitcoinTestFramework): assert_equal (auxblock['previousblockhash'], blocktemplate['previousblockhash']) # Compare target and take byte order into account. - target = auxblock['_target'] + target = auxblock['target'] reversedTarget = auxpow.reverseHex (target) assert_equal (reversedTarget, blocktemplate['target']) |