mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +02:00
rpc: Limit echo to 10 args
This commit is contained in:
@@ -27,8 +27,8 @@ class RpcMiscTest(BitcoinTestFramework):
|
||||
self.log.info("test CHECK_NONFATAL")
|
||||
assert_raises_rpc_error(
|
||||
-1,
|
||||
"Internal bug detected: 'request.params.size() != 100'",
|
||||
lambda: node.echo(*[0] * 100),
|
||||
'Internal bug detected: \'request.params[9].get_str() != "trigger_internal_bug"\'',
|
||||
lambda: node.echo(arg9='trigger_internal_bug'),
|
||||
)
|
||||
|
||||
self.log.info("test getmemoryinfo")
|
||||
|
Reference in New Issue
Block a user