Skip to content

Commit

Permalink
Change type from CBitcoinAddress to CBitcoinAddressForStorage in addkey
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Oct 1, 2023
1 parent ee74f78 commit 471c71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2437,7 +2437,7 @@ UniValue addkey(const UniValue& params, bool fHelp)
break;
case GRC::ContractType::SIDESTAKE:
{
CBitcoinAddress sidestake_address;
GRC::CBitcoinAddressForStorage sidestake_address;
if (!sidestake_address.SetString(params[2].get_str())) {
throw JSONRPCError(RPC_INVALID_PARAMETER, "Address specified for the sidestake is invalid.");
}
Expand Down

0 comments on commit 471c71a

Please sign in to comment.