From 8054e9931a02e969a5ee089028a852fdb1a87724 Mon Sep 17 00:00:00 2001 From: levonpetrosyan93 Date: Wed, 24 Jan 2024 02:19:07 +0400 Subject: [PATCH] Bug fixed --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 688234b0f2..3357bbac11 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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)));