Skip to content

Commit

Permalink
Update addresses.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
aguycalled authored Jul 8, 2024
1 parent 68213aa commit 7161616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpc/addresses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RPCHelpMan addmultisigaddress()
}
}

OutputType output_type = pwallet->m_default_address_type;
OutputType output_type = pwallet->IsWalletFlagSet(WALLET_FLAG_BLSCT) ? OutputType::BLSCT : pwallet->m_default_address_type;
if (!request.params[3].isNull()) {
std::optional<OutputType> parsed = ParseOutputType(request.params[3].get_str());
if (!parsed) {
Expand Down

0 comments on commit 7161616

Please sign in to comment.