Skip to content

Commit

Permalink
remove noisy logs
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchon committed Jan 23, 2021
1 parent 2fbc111 commit 6eaeaf9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions chain/client/cosmos.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,21 +198,15 @@ func (c *cosmosClient) broadcastTx(
return nil, err
}

log.Debugln("simResponse is", simResponse)
adjusted := simResponse.GetGasUsed()
log.Infof("Getting gas with adjusted %d wanted %d", adjusted, simResponse.GetGasWanted())

txf = txf.WithGas(adjusted * 10000)
}


log.Infoln(txf)
await = true
if await {
// BroadcastTxCommit - full synced commit with await
log.Infoln("BroadcastTxCommit with", txf.Gas(), "gas")
res, err := clientCtx.BroadcastTxCommit(txBytes)
log.Infoln(res, err)
return res, err
}

Expand Down

0 comments on commit 6eaeaf9

Please sign in to comment.