Skip to content

Commit

Permalink
change convention
Browse files Browse the repository at this point in the history
  • Loading branch information
poopoothegorilla committed Mar 7, 2024
1 parent 10195bf commit d9b19c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/txmgr/address_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ func (as *addressState[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) countT
return len(as.confirmedTxs)
case TxFatalError:
return len(as.fatalErroredTxs)
default:
panic("countTransactionByState: unknown transaction state")
}

panic("countTransactionByState: unknown transaction state")
}

// findTxWithIdempotencyKey returns the transaction with the given idempotency key.
Expand Down

0 comments on commit d9b19c1

Please sign in to comment.