Skip to content

Commit

Permalink
[RPC] Remove redundant checks for wallet existing/unlocked
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed May 23, 2021
1 parent d95f524 commit 366bfd0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rpc/rpcevo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ static CKeyID ParsePubKeyIDFromAddress(const std::string& strAddress)
template<typename SpecialTxPayload>
static void FundSpecialTx(CWallet* pwallet, CMutableTransaction& tx, SpecialTxPayload& payload)
{
assert(pwallet != nullptr);
SetTxPayload(tx, payload);

static CTxOut dummyTxOut(0, CScript() << OP_RETURN);
Expand Down

0 comments on commit 366bfd0

Please sign in to comment.