Skip to content

Commit

Permalink
update broadcast func to adjust gas price
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Jan 20, 2024
1 parent e0af36a commit 6b4e3e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func (b *ZetaCoreBridge) Broadcast(gaslimit uint64, authzWrappedMsg sdktypes.Msg
if baseGasPrice == 0 {
baseGasPrice = DefaultBaseGasPrice // shoudn't happen, but just in case
}
baseGasPrice = int64(float64(baseGasPrice) * 0.011)

if blockHeight > b.blockHeight {
b.blockHeight = blockHeight
Expand Down

0 comments on commit 6b4e3e3

Please sign in to comment.