aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/nulldummy.py
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@xbt.hk>2016-09-30 00:18:13 +0800
committerJohnson Lau <jl2012@xbt.hk>2016-09-30 02:48:09 +0800
commit46a4774d2bb9cc863e43507212ef989fa10d56d4 (patch)
treeb6f6f63ace3e3d13e60ac4251bedd9dbab47511c /qa/rpc-tests/nulldummy.py
parentc84181665f341ef9d30911c9d0a0d458199baa7c (diff)
Fix nulldummy.py test
Diffstat (limited to 'qa/rpc-tests/nulldummy.py')
-rwxr-xr-xqa/rpc-tests/nulldummy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/rpc-tests/nulldummy.py b/qa/rpc-tests/nulldummy.py
index 6488a92364..54b7eac376 100755
--- a/qa/rpc-tests/nulldummy.py
+++ b/qa/rpc-tests/nulldummy.py
@@ -119,6 +119,8 @@ class NULLDUMMYTest(BitcoinTestFramework):
node.sendrawtransaction(bytes_to_hex_str(tx.serialize_with_witness()), True)
except JSONRPCException as exp:
assert_equal(exp.error["message"], msg)
+ else:
+ assert_equal('', msg)
return tx.hash