mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge d654c762c8 into merged_master (Bitcoin PR bitcoin/bitcoin#27453)
This commit is contained in:
commit
05aca28bfb
1 changed files with 3 additions and 0 deletions
|
|
@ -129,6 +129,9 @@ class ScantxoutsetTest(BitcoinTestFramework):
|
|||
# Check that second arg is needed for start
|
||||
assert_raises_rpc_error(-1, "scanobjects argument is required for the start action", self.nodes[0].scantxoutset, "start")
|
||||
|
||||
# Check that invalid command give error
|
||||
assert_raises_rpc_error(-8, "Invalid action 'invalid_command'", self.nodes[0].scantxoutset, "invalid_command")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
ScantxoutsetTest().main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue