diff --git a/qa/rpc-tests/dpow.py b/qa/rpc-tests/dpow.py index c0036c560..fda3f6b9c 100755 --- a/qa/rpc-tests/dpow.py +++ b/qa/rpc-tests/dpow.py @@ -28,9 +28,10 @@ class DPoWTest(BitcoinTestFramework): result = rpc.getinfo() print result # TODO: actually do notarizations on regtest and test for specific data - assert(result['notarized'] >= 0) - assert(result['notarizedhash']) - assert(result['notarizedtxid']) + # regtest should have no notarization data, this test makes sure we do not see mainnet values as well! + assert_equal(result['notarized'],0) + assert_equal(result['notarizedhash'],'0000000000000000000000000000000000000000000000000000000000000000') + assert_equal(result['notarizedtxid'],'0000000000000000000000000000000000000000000000000000000000000000') if __name__ == '__main__': DPoWTest().main()