mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge pull request #1423 from psgreco/master-win64-fixassert
Fix Assert crash in win64 native builds
This commit is contained in:
commit
df4e99dca3
2 changed files with 3 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ public:
|
|||
return -1;
|
||||
}
|
||||
|
||||
assert(IsExplicit());;
|
||||
assert(IsExplicit());
|
||||
return ReadBE64(&vchCommitment[1]);
|
||||
}
|
||||
void SetToAmount(CAmount nAmount);
|
||||
|
|
|
|||
|
|
@ -1446,6 +1446,8 @@ static bool CreateTransactionInternal(
|
|||
return false;
|
||||
}
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue