Skip to content

Commit

Permalink
fix: fix the prevote gas adding
Browse files Browse the repository at this point in the history
  • Loading branch information
gsk967 committed Jan 18, 2024
1 parent 48af9fd commit 2591b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracle/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (oc OracleClient) CreateTxFactory(isPrevote bool) (tx.Factory, error) {
}
gas := oc.GasVote
if isPrevote {
gas = oc.GasVote
gas = oc.GasPrevote
}
return tx.Factory{}.
WithAccountRetriever(clientCtx.AccountRetriever).
Expand Down

0 comments on commit 2591b62

Please sign in to comment.