aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2019-07-13 19:11:28 +0000
committerRoss Nicoll <[email protected]>2019-07-13 19:23:36 +0000
commitdbfb33abe0dc57849975d9be25218907296a9954 (patch)
treeae374a3500129bf833e909d406de040652abdcca /qa
parentMark 1.14 ready for release (diff)
downloaddiscoin-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-xqa/rpc-tests/getauxblock.py2
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'])