Skip to content

Commit

Permalink
Merge df4e99d into merged_master (Elements PR #1423)
Browse files Browse the repository at this point in the history
  • Loading branch information
delta1 committed Feb 28, 2025
2 parents 5c10c04 + df4e99d commit 6b82cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/confidential.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class CConfidentialValue : public CConfidentialCommitment<9, 8, 9>
return -1;
}

assert(IsExplicit());;
assert(IsExplicit());
return ReadBE64(&vchCommitment[1]);
}
void SetToAmount(CAmount nAmount);
Expand Down
2 changes: 2 additions & 0 deletions src/wallet/spend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1573,6 +1573,8 @@ static util::Result<CreatedTransactionResult> CreateTransactionInternal(
return util::Error{error};
}
txNew = tx_blinded; // sigh, `fillBlindDetails` may have modified txNew
// Update the change position to the new tx
change_position = txNew.vout.begin() + nChangePosInOut;

int ret = BlindTransaction(blind_details->i_amount_blinds, blind_details->i_asset_blinds, blind_details->i_assets, blind_details->i_amounts, blind_details->o_amount_blinds, blind_details->o_asset_blinds, blind_details->o_pubkeys, issuance_asset_keys, issuance_token_keys, tx_blinded);
assert(ret != -1);
Expand Down

0 comments on commit 6b82cfa

Please sign in to comment.