Skip to content

Commit

Permalink
Remove Prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvionied committed Dec 6, 2023
1 parent 9ba1840 commit 69b0f82
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ApolloBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1191,12 +1191,9 @@ func (b *Apollo) addChangeAndFee() (*Apollo, error) {
requestedAmount = requestedAmount.Add(payment.ToValue())
}
requestedAmount = requestedAmount.Add(burns)
fmt.Println("PROVIDED AMT", providedAmount)
b.Fee = b.estimateFee()
requestedAmount.AddLovelace(b.Fee)
fmt.Println("REQUESTED AMT", requestedAmount)
change := providedAmount.Sub(requestedAmount)
fmt.Println("CHANGE", change)
if change.GetCoin() < Utils.MinLovelacePostAlonzo(
TransactionOutput.SimpleTransactionOutput(b.inputAddresses[0], Value.SimpleValue(0, change.GetAssets())),
b.Context,
Expand Down

0 comments on commit 69b0f82

Please sign in to comment.