Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/initia-labs/OPinit
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 26, 2024
2 parents 90cf038 + 879dc4f commit ab98308
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/opchild/types/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,6 @@ func (msg MsgFinalizeTokenDeposit) Validate(ac address.Codec) error {
return sdkerrors.ErrInvalidAddress.Wrap("from address cannot be empty")
}

if _, err := ac.StringToBytes(msg.To); err != nil {
return err
}

// allow zero amount
if !msg.Amount.IsValid() {
return ErrInvalidAmount
Expand Down

0 comments on commit ab98308

Please sign in to comment.