diff options
author | Jon Atack <jon@atack.com> | 2022-02-17 12:54:39 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-02-21 19:07:29 +0100 |
commit | 48742693acc9de837735674057c9aae2fe90bd1d (patch) | |
tree | 77aafdc1af1ed5016ef365e07dce7c63496d3aab /src/rpc/misc.cpp | |
parent | e670edd43441ecb6e5978d65348501c57d856030 (diff) | |
download | bitcoin-48742693acc9de837735674057c9aae2fe90bd1d.tar.xz |
Replace "can not" with "cannot" in docs, user messages, and tests
Diffstat (limited to 'src/rpc/misc.cpp')
-rw-r--r-- | src/rpc/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 8d574e0359..8d7b48d697 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -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); |