Skip to content

Commit

Permalink
Merge pull request #292 from oasisprotocol/ptrus/feature/fix-docker-o…
Browse files Browse the repository at this point in the history
…asis-deposit

fix(docker): oasis-deposit build
  • Loading branch information
ptrus authored Jun 23, 2022
2 parents 3d2b18d + 6759a7d commit 87f7003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/emerald-dev/oasis-deposit/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func EstimateGas(ctx context.Context, rtc client.RuntimeClient, tx types.Transac
// Set the starting gas to something high, so we don't run out.
tx.AuthInfo.Fee.Gas = highGasAmount
// Estimate gas usage.
gas, err := core.NewV1(rtc).EstimateGas(ctx, client.RoundLatest, &tx)
gas, err := core.NewV1(rtc).EstimateGas(ctx, client.RoundLatest, &tx, true)
if err != nil {
tx.AuthInfo.Fee.Gas = oldGas + extraGas
return tx
Expand Down

0 comments on commit 87f7003

Please sign in to comment.