assert that the return value of submitblock is None

This commit is contained in:
Larry Ruane 2021-12-28 22:10:13 -07:00
parent ba4b4791c1
commit 1f223ebed7
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ class GetBlockTemplateTest(BitcoinTestFramework):
block = codecs.encode(block, 'hex_codec')
print("Submitting block")
node.submitblock(block)
submitblock_reply = node.submitblock(block)
assert_equal(None, submitblock_reply)
if __name__ == '__main__':