fix compile
This commit is contained in:
committed by
Duke Leto
parent
a9e6edeed9
commit
0ebd33efa6
@@ -4191,9 +4191,9 @@ UniValue z_viewtransaction(const UniValue& params, bool fHelp)
|
||||
UniValue outputs(UniValue::VARR);
|
||||
|
||||
// Sprout spends
|
||||
for (size_t i = 0; i < wtx.vJoinSplit.size(); ++i) {
|
||||
for (size_t j = 0; j < wtx.vJoinSplit[i].nullifiers.size(); ++j) {
|
||||
auto nullifier = wtx.vJoinSplit[i].nullifiers[j];
|
||||
for (size_t i = 0; i < wtx.vjoinsplit.size(); ++i) {
|
||||
for (size_t j = 0; j < wtx.vjoinsplit[i].nullifiers.size(); ++j) {
|
||||
auto nullifier = wtx.vjoinsplit[i].nullifiers[j];
|
||||
|
||||
// Fetch the note that is being spent, if ours
|
||||
auto res = pwalletMain->mapSproutNullifiersToNotes.find(nullifier);
|
||||
|
||||
@@ -2504,12 +2504,12 @@ std::pair<SproutNotePlaintext, SproutPaymentAddress> CWalletTx::DecryptSproutNot
|
||||
EncodePaymentAddress(pa)));
|
||||
}
|
||||
|
||||
auto hSig = this->vJoinSplit[jsop.js].h_sig(*pzcashParams, this->joinSplitPubKey);
|
||||
auto hSig = this->vjoinsplit[jsop.js].h_sig(*pzcashParams, this->joinSplitPubKey);
|
||||
try {
|
||||
SproutNotePlaintext plaintext = SproutNotePlaintext::decrypt(
|
||||
decryptor,
|
||||
this->vJoinSplit[jsop.js].ciphertexts[jsop.n],
|
||||
this->vJoinSplit[jsop.js].ephemeralKey,
|
||||
this->vjoinsplit[jsop.js].ciphertexts[jsop.n],
|
||||
this->vjoinsplit[jsop.js].ephemeralKey,
|
||||
hSig,
|
||||
(unsigned char) jsop.n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user