rpc-tests: fix auxpow calls to use .target instead of ._target
Tests weren't adapted to reflect RPC output
This commit is contained in:
parent
e896e90e6e
commit
d0afe42ed2
|
@ -63,7 +63,7 @@ def mineAuxpowBlock (node):
|
|||
"""
|
||||
|
||||
auxblock = node.getauxblock ()
|
||||
target = reverseHex (auxblock['_target'])
|
||||
target = reverseHex (auxblock['target'])
|
||||
apow = computeAuxpow (auxblock['hash'], target, True)
|
||||
res = node.getauxblock (auxblock['hash'], apow)
|
||||
assert res
|
||||
|
|
Loading…
Reference in a new issue