Auto merge of #2848 - str4d:2795-rpc-test-chainValueZat, r=str4d
Check chainValueZat when checking value pool monitoring Addresses https://github.com/zcash/zcash/pull/2795#discussion_r157343660
This commit is contained in:
commit
fdb59266fb
|
@ -6,6 +6,7 @@
|
|||
|
||||
from test_framework.test_framework import BitcoinTestFramework
|
||||
from test_framework.authproxy import JSONRPCException
|
||||
from test_framework.mininode import COIN
|
||||
from test_framework.util import assert_equal, initialize_chain_clean, \
|
||||
start_nodes, connect_nodes_bi, stop_node, wait_and_assert_operationid_status
|
||||
|
||||
|
@ -22,6 +23,7 @@ def check_value_pool(node, name, total):
|
|||
found = True
|
||||
assert_equal(pool['monitored'], True)
|
||||
assert_equal(pool['chainValue'], total)
|
||||
assert_equal(pool['chainValueZat'], total * COIN)
|
||||
assert(found)
|
||||
|
||||
class WalletProtectCoinbaseTest (BitcoinTestFramework):
|
||||
|
|
Loading…
Reference in New Issue