Skip to content

Commit

Permalink
Merge branch 'main' into jihwan/return-monitor-err
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkimqd authored Oct 7, 2024
2 parents 39edf16 + 63d2c1d commit f76a7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ func renderMonitorUI(ctx context.Context, ec *ethclient.Client, ms *monitorStatu
transactions := ms.SelectedBlock.Transactions()
if len(transactions) > 0 {
index := transactionList.SelectedRow - 1
if index > 0 && index < len(transactions) {
if index >= 0 && index < len(transactions) {
tx := transactions[index]
skeleton.TxInfo.Rows = ui.GetSimpleTxFields(tx, ms.ChainID, baseFee)
} else {
Expand Down

0 comments on commit f76a7a2

Please sign in to comment.