mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
abi.go: Get rid of global state by defining an AbiManager struct.
This commit is contained in:
parent
0ded3ee6fe
commit
45d1a468e8
3 changed files with 24 additions and 12 deletions
|
|
@ -91,7 +91,7 @@ func processTraces(traces []*ship.TransactionTraceV0) {
|
|||
HexData: hex.EncodeToString(act_trace.Act.Data),
|
||||
}
|
||||
|
||||
abi, err := GetAbi(act_trace.Act.Account)
|
||||
abi, err := abi_mgr.GetAbi(act_trace.Act.Account)
|
||||
if err == nil {
|
||||
v, err := decodeAction(abi, act_trace.Act.Data, act_trace.Act.Name)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue