Skip to content

Commit

Permalink
align variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Dec 3, 2024
1 parent 31e1cc1 commit 6a93737
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x/ibc-hooks/move-hooks/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ func (a *AsyncCallback) UnmarshalJSON(bz []byte) error {
var ac asyncCallback
err := json.Unmarshal(bz, &ac)
if err != nil {
var aStr asyncCallbackStringID
err := json.Unmarshal(bz, &aStr)
var acStr asyncCallbackStringID
err := json.Unmarshal(bz, &acStr)
if err != nil {
return err
}

a.Id = aStr.Id
a.ModuleAddress = aStr.ModuleAddress
a.ModuleName = aStr.ModuleName
a.Id = acStr.Id
a.ModuleAddress = acStr.ModuleAddress
a.ModuleName = acStr.ModuleName
return nil
}

Expand Down

0 comments on commit 6a93737

Please sign in to comment.