Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/rpcblockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,8 @@ UniValue advertisebeacon(const UniValue& params, bool fHelp)
"\n"
"Advertise a beacon (Requires wallet to be fully unlocked)\n");

EnsureWalletIsUnlocked();

UniValue res(UniValue::VOBJ);

/* Try to copy key from config. The call is no-op if already imported or
Expand Down