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:
commit
ba0688da3f
|
@ -98,7 +98,8 @@ class GetBlockTemplateTest(BitcoinTestFramework):
|
||||||
block = codecs.encode(block, 'hex_codec')
|
block = codecs.encode(block, 'hex_codec')
|
||||||
|
|
||||||
print("Submitting block")
|
print("Submitting block")
|
||||||
node.submitblock(block)
|
submitblock_reply = node.submitblock(block)
|
||||||
|
assert_equal(None, submitblock_reply)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue