We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4000b6e commit 968931eCopy full SHA for 968931e
src/wallet/rpcwallet.cpp
@@ -1666,7 +1666,7 @@ UniValue listcoldutxos(const UniValue& params, bool fHelp)
1666
entry.push_back(Pair("txidn", (int)i));
1667
entry.push_back(Pair("amount", ValueFromAmount(out.nValue)));
1668
entry.push_back(Pair("confirmations", pcoin->GetDepthInMainChain(false)));
1669
- entry.push_back(Pair("cold-staker", CBitcoinAddress(addresses[0]).ToString()));
+ entry.push_back(Pair("cold-staker", CBitcoinAddress(addresses[0], CChainParams::STAKING_ADDRESS).ToString()));
1670
entry.push_back(Pair("coin-owner", CBitcoinAddress(addresses[1]).ToString()));
1671
entry.push_back(Pair("whitelisted", fWhitelisted ? "true" : "false"));
1672
results.push_back(entry);
0 commit comments