RPC/Blockchain: Clarify invalid-action error in scanblocks & scantxoutset

This commit is contained in:
Luke Dashjr committed 2022-11-16 00:43:07 +00:00
1 parent 5602cc7ccf
commit 54b45e155e
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ class ScanblocksTest(BitcoinTestFramework):
assert_equal(node.scanblocks("abort"), False)
# test invalid command
assert_raises_rpc_error(-8, "Invalid command", node.scanblocks, "foobar")
assert_raises_rpc_error(-8, "Invalid action 'foobar'", node.scanblocks, "foobar")
if __name__ == '__main__':