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

Remove app/abi/helpers.go: unused

This commit is contained in:
Henrik Hautakoski 2023-04-26 08:59:33 +02:00
parent 0650845a0c
commit 903317ba61

View file

@ -1,19 +0,0 @@
package abi
import (
"encoding/json"
eos "github.com/eoscanada/eos-go"
)
func DecodeAction(eos_ABI *eos.ABI, data []byte, actionName eos.ActionName) (interface{}, error) {
var v interface{}
bytes, err := eos_ABI.DecodeAction(data, actionName)
if err != nil {
return v, err
}
err = json.Unmarshal(bytes, &v)
return v, err
}