diff options
| author | Patrick Lodder <[email protected]> | 2020-07-22 12:43:08 +0200 |
|---|---|---|
| committer | Patrick Lodder <[email protected]> | 2020-07-22 13:49:05 +0200 |
| commit | d0afe42ed28eb42df2079138ff5f3463a5ffc491 (patch) | |
| tree | dfa2c03c1dbbb9a59ca73ec1e705a92734135777 /qa/rpc-tests/test_framework | |
| parent | rpc-tests: revert from litecoin_scrypt to ltc_scrypt (diff) | |
| download | discoin-d0afe42ed28eb42df2079138ff5f3463a5ffc491.tar.xz discoin-d0afe42ed28eb42df2079138ff5f3463a5ffc491.zip | |
rpc-tests: fix auxpow calls to use .target instead of ._target
Tests weren't adapted to reflect RPC output
Diffstat (limited to 'qa/rpc-tests/test_framework')
| -rw-r--r-- | qa/rpc-tests/test_framework/auxpow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/auxpow.py b/qa/rpc-tests/test_framework/auxpow.py index 4f5ce20c0..d96516b83 100644 --- a/qa/rpc-tests/test_framework/auxpow.py +++ b/qa/rpc-tests/test_framework/auxpow.py @@ -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 |