mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge bb378b6ccd into merged_master (Bitcoin PR bitcoin/bitcoin#26054)
This commit is contained in:
commit
3564a2cee7
1 changed files with 1 additions and 2 deletions
|
|
@ -85,9 +85,8 @@ class InvalidateTest(BitcoinTestFramework):
|
|||
assert_equal(self.nodes[1].getbestblockhash(), blocks[-1])
|
||||
|
||||
self.log.info("Verify that invalidating an unknown block throws an error")
|
||||
chain_tips = self.nodes[1].getchaintips()
|
||||
assert_raises_rpc_error(-5, "Block not found", self.nodes[1].invalidateblock, "00" * 32)
|
||||
assert_equal(chain_tips, self.nodes[1].getchaintips())
|
||||
assert_equal(self.nodes[1].getbestblockhash(), blocks[-1])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue