Skip to content

Commit

Permalink
mark orcl5 as a valid asset
Browse files Browse the repository at this point in the history
  • Loading branch information
bonedaddy committed Feb 19, 2021
1 parent 83135a9 commit d7a8e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var (
Asset("DEFI5"),
Asset("CC10"),
Asset("ETH"),
Asset("ORCL5"),
}
// ErrInvalidAsset is an error returned when the given asset specified is invalid
ErrInvalidAsset = errors.New("invalid asset")
Expand All @@ -28,7 +29,7 @@ var (
// IsValidAsset determines whether or not the given asset is one we are tracking
func IsValidAsset(asset string) bool {
switch strings.ToLower(asset) {
case "ndx", "defi5", "cc10", "eth":
case "ndx", "defi5", "cc10", "orcl5", "eth":
return true
default:
return false
Expand Down

0 comments on commit d7a8e18

Please sign in to comment.