Skip to content

Commit

Permalink
rm rudiment struct init
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Jun 24, 2024
1 parent 28b3fd7 commit 745b277
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/submit/tx_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,7 @@ func (txs *TxSender) queryDynamicPrice(ctx context.Context) (cosmossdk_io_math.L
if err != nil {
return cosmossdk_io_math.LegacyZeroDec(), fmt.Errorf("error marshalling query gas prices request for denom=%s: %w", txs.denom, err)
}
simQuery := abci.RequestQuery{
Path: getPricesQueryPath,
Data: req,
}
res, err := txs.rpcClient.ABCIQueryWithOptions(ctx, simQuery.Path, simQuery.Data, rpcclient.DefaultABCIQueryOptions)
res, err := txs.rpcClient.ABCIQueryWithOptions(ctx, getPricesQueryPath, req, rpcclient.DefaultABCIQueryOptions)
if err != nil {
return cosmossdk_io_math.LegacyZeroDec(), fmt.Errorf("error making abci query: %w", err)
}
Expand Down

0 comments on commit 745b277

Please sign in to comment.