Delete some sprout code

This commit is contained in:
Duke Leto
2019-12-15 06:26:00 -05:00
parent 8ebeafce77
commit ccbe3478e5

View File

@@ -3857,9 +3857,6 @@ CAmount getBalanceZaddr(std::string address, int minDepth = 1, bool ignoreUnspen
std::vector<SaplingNoteEntry> saplingEntries;
LOCK2(cs_main, pwalletMain->cs_wallet);
pwalletMain->GetFilteredNotes(sproutEntries, saplingEntries, address, minDepth, true, ignoreUnspendable);
for (auto & entry : sproutEntries) {
balance += CAmount(entry.plaintext.value());
}
for (auto & entry : saplingEntries) {
balance += CAmount(entry.note.value());
}