diff --git a/command/bridge/deposit/erc20/deposit_erc20.go b/command/bridge/deposit/erc20/deposit_erc20.go index 96aa5f56d1..48efebecf8 100644 --- a/command/bridge/deposit/erc20/deposit_erc20.go +++ b/command/bridge/deposit/erc20/deposit_erc20.go @@ -238,7 +238,10 @@ func runCommand(cmd *cobra.Command, _ []string) { var childToken *types.Address for x := range bridgeTxCh { - exitEventIDs = append(exitEventIDs, x.exitEventID) + if x.exitEventID != nil { + exitEventIDs = append(exitEventIDs, x.exitEventID) + } + blockNumbers = append(blockNumbers, x.blockNumber) if x.childTokenAddr != nil {