Skip to content

Commit b172a0c

Browse files
committed
Lint
1 parent f7e6f2d commit b172a0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chains/lighter/message/lighter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
)
2525

2626
var (
27-
ARBITRUM_CHAIN_ID = big.NewInt(42161)
28-
USDC_ACCOUNT_INDEX = 3
27+
ARBITRUM_CHAIN_ID = big.NewInt(42161)
28+
USDC_ACCOUNT_INDEX uint64 = 3
2929
)
3030

3131
type Coordinator interface {
@@ -145,7 +145,7 @@ func (h *LighterMessageHandler) verifyWithdrawal(tx *lighter.LighterTx) error {
145145
return errors.New("transfer account index invalid")
146146
}
147147

148-
if tx.Transfer.AssetIndex != uint64(USDC_ACCOUNT_INDEX) {
148+
if tx.Transfer.AssetIndex != USDC_ACCOUNT_INDEX {
149149
return errors.New("only usdc asset supported on lighter")
150150
}
151151

0 commit comments

Comments
 (0)