Skip to content

Commit

Permalink
return all oracles in listall
Browse files Browse the repository at this point in the history
  • Loading branch information
nnn-gif committed Sep 27, 2023
1 parent d007f1d commit 0b860ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (rdb *RelDB) GetAllFeeders(isDeleted bool) (oracleconfigs []dia.OracleConfi

query := fmt.Sprintf(`
SELECT address, feeder_id, owner,symbols, chainID, frequency, sleepseconds, deviationpermille, blockchainnode, active,mandatory_frequency, feeder_address, createddate, COALESCE(lastupdate, '0001-01-01 00:00:00'::timestamp),deleted,feedselection,expired,expired_time
FROM %s WHERE mandatory_frequency IS NOT NULL and deleted=$1
FROM %s WHERE mandatory_frequency IS NOT NULL
`, oracleconfigTable)
rows, err = rdb.postgresClient.Query(context.Background(), query, isDeleted)
if err != nil {
Expand Down

0 comments on commit 0b860ce

Please sign in to comment.