1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

internal/server/ship_processor.go: in updateAbiFromAction() fix field order in set_abi struct

This commit is contained in:
Henrik Hautakoski 2024-07-02 19:46:24 +02:00
parent 0e124bb866
commit e0f598eba4

View file

@ -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 {