Skip to content

Commit

Permalink
Bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Jan 23, 2024
1 parent 29c51a5 commit 8054e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3998,7 +3998,7 @@ UniValue getsparkcoinaddr(const JSONRPCRequest& request)
for (const auto& coin : coins)
{
if (txHash == coin.second.txid) {
spark::Address address = pwallet->sparkWallet->getAddress(coin.second.nId);
spark::Address address = pwallet->sparkWallet->getAddress(coin.second.i);
UniValue entry(UniValue::VOBJ);
entry.push_back(Pair("address", address.encode(network)));
entry.push_back(Pair("memo", SanitizeString(coin.second.memo)));
Expand Down

0 comments on commit 8054e99

Please sign in to comment.