Skip to content

Commit

Permalink
Fix: assets in collateral
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvionied committed Sep 26, 2023
1 parent d1bc8a4 commit 55aa662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ApolloBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func (b *Apollo) setCollateral() *Apollo {
b.totalCollateral = collateral_amount
return b
} else {
returnOutput := TransactionOutput.SimpleTransactionOutput(b.inputAddresses[0], Value.PureLovelaceValue(return_amount))
returnOutput := TransactionOutput.SimpleTransactionOutput(b.inputAddresses[0], Value.SimpleValue(return_amount, utxo.Output.GetValue().GetAssets()))
b.collaterals = append(b.collaterals, utxo)
b.collateralReturn = &returnOutput
b.totalCollateral = collateral_amount
Expand Down

0 comments on commit 55aa662

Please sign in to comment.