mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
internal/server/ship_processor.go: in updateAbiFromAction() fix field order in set_abi struct
This commit is contained in:
parent
0e124bb866
commit
e0f598eba4
1 changed files with 1 additions and 1 deletions
|
|
@ -77,8 +77,8 @@ func (processor *ShipProcessor) initHandler(abi *chain.Abi) {
|
||||||
// updateAbiFromAction updates the contract abi based on the ship.Action passed.
|
// updateAbiFromAction updates the contract abi based on the ship.Action passed.
|
||||||
func (processor *ShipProcessor) updateAbiFromAction(act *chain.Action) error {
|
func (processor *ShipProcessor) updateAbiFromAction(act *chain.Action) error {
|
||||||
set_abi := struct {
|
set_abi := struct {
|
||||||
Abi string
|
|
||||||
Account chain.Name
|
Account chain.Name
|
||||||
|
Abi string
|
||||||
}{}
|
}{}
|
||||||
|
|
||||||
if err := act.DecodeInto(&set_abi); err != nil {
|
if err := act.DecodeInto(&set_abi); err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue