Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hwray committed Nov 15, 2024
1 parent 4718c6d commit 90cf19c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ import (

var _ sdk.Msg = &MsgUpgradeIsolatedPerpetualToCross{}

func (msg *MsgUpgradeIsolatedPerpetualToCross) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Authority)
return []sdk.AccAddress{addr}
}

func (msg *MsgUpgradeIsolatedPerpetualToCross) ValidateBasic() error {
if _, err := sdk.AccAddressFromBech32(msg.Authority); err != nil {
return errorsmod.Wrap(
Expand Down

0 comments on commit 90cf19c

Please sign in to comment.