Skip to content

Commit

Permalink
Reverting deleted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Oct 11, 2023
1 parent 22deed5 commit 5f5fd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/ethereum.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func attemptReturn(e *EthereumClient, fromKey *ecdsa.PrivateKey, attemptCount in
totalGasCost := gasEstimations.TotalGasCost
balanceGasDelta := big.NewInt(0).Sub(balance, totalGasCost)

git if balanceGasDelta.Sign() < 0 { // Try with 0.5 gwei if we have no or negative margin. Might as well
if balanceGasDelta.Sign() < 0 { // Try with 0.5 gwei if we have no or negative margin. Might as well
balanceGasDelta = big.NewInt(500_000_000)
}

Expand Down

0 comments on commit 5f5fd57

Please sign in to comment.