diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-25 16:52:00 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-25 17:27:53 +0200 |
commit | fa28d0f3c3fe528dae7fd6dc7725219b9bdf0e1b (patch) | |
tree | 5fef522815a91c28eec578eeef268cb6b1e8b31c /src/wallet/rpc/signmessage.cpp | |
parent | fa962103e8eb0b078b83943a21831be39e7716c9 (diff) | |
download | bitcoin-fa28d0f3c3fe528dae7fd6dc7725219b9bdf0e1b.tar.xz |
scripted-diff: Replace NullUniValue with UniValue::VNULL
This is required for removing the UniValue copy constructor.
-BEGIN VERIFY SCRIPT-
sed -i 's/return NullUniValue/return UniValue::VNULL/g' $(git grep -l NullUniValue ':(exclude)src/univalue')
-END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/rpc/signmessage.cpp')
-rw-r--r-- | src/wallet/rpc/signmessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/signmessage.cpp b/src/wallet/rpc/signmessage.cpp index 438d290030..ae4bd4fbc5 100644 --- a/src/wallet/rpc/signmessage.cpp +++ b/src/wallet/rpc/signmessage.cpp @@ -36,7 +36,7 @@ RPCHelpMan signmessage() [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue { const std::shared_ptr<const CWallet> pwallet = GetWalletForJSONRPCRequest(request); - if (!pwallet) return NullUniValue; + if (!pwallet) return UniValue::VNULL; LOCK(pwallet->cs_wallet); |