mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
Remove app/abi/helpers.go: unused
This commit is contained in:
parent
0650845a0c
commit
903317ba61
1 changed files with 0 additions and 19 deletions
|
|
@ -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
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue