Skip to content

Commit 584b7b7

Browse files
committed
feat: fix setting ticker token
1 parent 6e86024 commit 584b7b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

models/price_oracle/on_log.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ func GetDesc(client core.ClientI, addr common.Address) string {
3333
log.CheckFatal(err)
3434
return strings.Trim(string(bytes), "\x00")
3535
}
36+
func (mdl *PriceOracle) GetDataProcessType() int {
37+
return ds.ViaMultipleLogs
38+
}
3639
func (mdl *PriceOracle) OnLogs(txLogs []types.Log) {
3740
for _, txLog := range txLogs {
3841
switch txLog.Topics[0] {

0 commit comments

Comments
 (0)