Browse Source

Delete some sprout code inside AsyncRPCOperation_sendmany::find_unspent_notes

z_signmessage
Duke Leto 4 years ago
parent
commit
8155559832
  1. 13
      src/wallet/asyncrpcoperation_sendmany.cpp

13
src/wallet/asyncrpcoperation_sendmany.cpp

@ -1143,19 +1143,6 @@ bool AsyncRPCOperation_sendmany::find_unspent_notes() {
saplingEntries.clear();
}
for (CSproutNotePlaintextEntry & entry : sproutEntries) {
z_sprout_inputs_.push_back(SendManyInputJSOP(entry.jsop, entry.plaintext.note(boost::get<libzcash::SproutPaymentAddress>(frompaymentaddress_)), CAmount(entry.plaintext.value())));
std::string data(entry.plaintext.memo().begin(), entry.plaintext.memo().end());
LogPrint("zrpcunsafe", "%s: found unspent Sprout note (txid=%s, vjoinsplit=%d, ciphertext=%d, amount=%s, memo=%s)\n",
getId(),
entry.jsop.hash.ToString().substr(0, 10),
entry.jsop.js,
int(entry.jsop.n), // uint8_t
FormatMoney(entry.plaintext.value()),
HexStr(data).substr(0, 10)
);
}
for (auto entry : saplingEntries) {
z_sapling_inputs_.push_back(entry);
std::string data(entry.memo.begin(), entry.memo.end());

Loading…
Cancel
Save