1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

app/abi/manager.go: Some documentation

This commit is contained in:
Henrik Hautakoski 2023-06-27 17:21:10 +02:00
parent fb54dd9960
commit 3379c70e63

View file

@ -31,6 +31,7 @@ func NewAbiManager(rdb *redis.Client, api *eos.API, id string) *AbiManager {
}
}
// Set or update an ABI in the cache.
func (mgr *AbiManager) SetAbi(account eos.AccountName, abi *eos.ABI) error {
return mgr.cache.Set(string(account), abi, time.Hour)
}