Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Jul 25, 2024
1 parent ab3a462 commit 1fc99d7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sequencesender/txbuilder/banana_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ func convertToEthermanBatch(batch seqsendertypes.Batch) (etherman.Batch, error)
LastL2BLockTimestamp: batch.LastL2BLockTimestamp(),
GlobalExitRoot: batch.GlobalExitRoot(),
}, nil
// cast, ok := batch.(*BananaBatch)
// if !ok {
// log.Error("Batch is not a BananaBatch")
// return etherman.Batch{}, fmt.Errorf("Batch is not a BananaBatch")
// }
// return cast.Batch, nil
}

func convertToEthermanBatches(batch []seqsendertypes.Batch) ([]etherman.Batch, error) {
Expand Down

0 comments on commit 1fc99d7

Please sign in to comment.