|
|
@ -1620,7 +1620,7 @@ bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pbl |
|
|
|
bool fExisted = mapWallet.count(tx.GetHash()) != 0; |
|
|
|
if (fExisted && !fUpdate) return false; |
|
|
|
std::pair<mapSaplingNoteData_t, SaplingIncomingViewingKeyMap> saplingNoteDataAndAddressesToAdd; |
|
|
|
saplingNoteDataAndAddressesToAdd = fAsyncNoteDecryption ? FindMySaplingNotesAsync(tx, nHeight) : FindMySaplingNotes(tx, nHeight); |
|
|
|
saplingNoteDataAndAddressesToAdd = fAsyncNoteDecryption ? FindMySaplingNotesAsync(tx, nHeight) : FindMySaplingNotes(tx); |
|
|
|
auto saplingNoteData = saplingNoteDataAndAddressesToAdd.first; |
|
|
|
auto addressesToAdd = saplingNoteDataAndAddressesToAdd.second; |
|
|
|
for (const auto &addressToAdd : addressesToAdd) { |
|
|
|