Replace "can not" with "cannot" in docs, user messages, and tests

This commit is contained in:
Jon Atack
2022-02-17 12:54:39 +01:00
parent e670edd434
commit 48742693ac
16 changed files with 21 additions and 21 deletions

View File

@@ -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);