aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc/signmessage.cpp
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2024-05-10 15:45:07 -0400
committerRyan Ofsky <ryan@ofsky.org>2024-05-16 11:16:08 -0400
commit6861f954f8ff42c87ad638037adae86a5bd89600 (patch)
treeb0ffb5123448dab063e0ca4b5669d9f4024de23a /src/wallet/rpc/signmessage.cpp
parentcc5f29fbea15d33e4d1aa95591253c6b86953fe7 (diff)
downloadbitcoin-6861f954f8ff42c87ad638037adae86a5bd89600.tar.xz
util: move util/message to common/signmessage
Move util/message to common/signmessage so it is named more clearly, and because the util library is not supposed to depend on other libraries besides the crypto library. The signmessage functions use CKey, CPubKey, PKHash, and DecodeDestination functions in the consensus and common libraries.
Diffstat (limited to 'src/wallet/rpc/signmessage.cpp')
-rw-r--r--src/wallet/rpc/signmessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/signmessage.cpp b/src/wallet/rpc/signmessage.cpp
index c9fb693482..edf93ecab7 100644
--- a/src/wallet/rpc/signmessage.cpp
+++ b/src/wallet/rpc/signmessage.cpp
@@ -2,9 +2,9 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#include <common/signmessage.h>
#include <key_io.h>
#include <rpc/util.h>
-#include <util/message.h>
#include <wallet/rpc/util.h>
#include <wallet/wallet.h>