mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-19 12:10:19 +01:00
Replace "can not" with "cannot" in docs, user messages, and tests
This commit is contained in:
@@ -426,7 +426,7 @@ static RPCHelpMan setmocktime()
|
||||
RPCTypeCheck(request.params, {UniValue::VNUM});
|
||||
const int64_t time{request.params[0].get_int64()};
|
||||
if (time < 0) {
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("Mocktime can not be negative: %s.", time));
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("Mocktime cannot be negative: %s.", time));
|
||||
}
|
||||
SetMockTime(time);
|
||||
auto node_context = util::AnyPtr<NodeContext>(request.context);
|
||||
|
||||
Reference in New Issue
Block a user