Merge pull request #5441 from LarryRuane/2021-12-28-test-submitblock

test: assert that the return value of submitblock is None
This commit is contained in:
Daira Hopwood 2021-12-29 14:02:57 +00:00 committed by GitHub
commit ba0688da3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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__':