Skip to content

Commit

Permalink
internal/server/ship_processor.go: in updateAbiFromAction() fix field…
Browse files Browse the repository at this point in the history
… order in set_abi struct
  • Loading branch information
pnx committed Jul 2, 2024
1 parent 0e124bb commit e0f598e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/ship_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ func (processor *ShipProcessor) initHandler(abi *chain.Abi) {
// updateAbiFromAction updates the contract abi based on the ship.Action passed.
func (processor *ShipProcessor) updateAbiFromAction(act *chain.Action) error {
set_abi := struct {
Abi string
Account chain.Name
Abi string
}{}

if err := act.DecodeInto(&set_abi); err != nil {
Expand Down

0 comments on commit e0f598e

Please sign in to comment.