Skip to content

Commit 86f74c6

Browse files
committed
Merge 6c7ebcc into merged_master (Bitcoin PR bitcoin/bitcoin#27422)
2 parents fd2ba55 + 6c7ebcc commit 86f74c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/rpc_scantxoutset.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ def run_test(self):
126126
assert_equal(self.nodes[0].scantxoutset("status"), None)
127127
assert_equal(self.nodes[0].scantxoutset("abort"), False)
128128

129+
# check that first arg is needed
130+
assert_raises_rpc_error(-1, "scantxoutset \"action\" ( [scanobjects,...] )", self.nodes[0].scantxoutset)
131+
129132
# Check that second arg is needed for start
130133
assert_raises_rpc_error(-1, "scanobjects argument is required for the start action", self.nodes[0].scantxoutset, "start")
131134

0 commit comments

Comments
 (0)