From e0f598eba44259916a2dae5645d828d059c0a5f3 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 2 Jul 2024 19:46:24 +0200 Subject: [PATCH] internal/server/ship_processor.go: in updateAbiFromAction() fix field order in set_abi struct --- internal/server/ship_processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/ship_processor.go b/internal/server/ship_processor.go index 6b40114..bc086cf 100644 --- a/internal/server/ship_processor.go +++ b/internal/server/ship_processor.go @@ -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 {