mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Fix blinding logic for issuances on input 1 or higher
This commit is contained in:
parent
83df289765
commit
a5e9e0e40f
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ int BlindTransaction(std::vector<uint256 >& input_blinding_factors, const std::v
|
|||
// New Issuance
|
||||
if (issuance.assetBlindingNonce.IsNull()) {
|
||||
bool assetToBlind = (vBlindIssuanceAsset.size() > i && vBlindIssuanceAsset[i].IsValid()) ? true : false;
|
||||
GenerateAssetEntropy(entropy, tx.vin[0].prevout, issuance.assetEntropy);
|
||||
GenerateAssetEntropy(entropy, tx.vin[i].prevout, issuance.assetEntropy);
|
||||
CalculateAsset(asset, entropy);
|
||||
CalculateReissuanceToken(token, entropy, assetToBlind);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue