We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f2eb1c commit 1b0d32dCopy full SHA for 1b0d32d
1 file changed
providers/apis/stork/utils.go
@@ -22,7 +22,7 @@ const (
22
Name = "stork_api"
23
24
// URL is the base URL of the Stork REST API for fetching latest prices.
25
- URL = "http://18.117.7.208:8444/prices"
+ URL = "https://oracle-relay.dydx.trade/prices"
26
)
27
28
// DefaultAPIConfig is the default configuration for the Stork API.
@@ -111,7 +111,7 @@ type PublisherSignedPrice struct {
111
func VerifyStorkSignature(sp SignedPrice) error {
112
expectedHex := os.Getenv(StorkPubKeyEnv)
113
if expectedHex == "" {
114
- return fmt.Errorf("%s environment variable is not set", StorkPubKeyEnv)
+ expectedHex = "0x0a803F9b1CCe32e2773e0d2e98b37E0775cA5d44"
115
}
116
117
msgHash := common.FromHex(sp.TimestampedSignature.MsgHash)
0 commit comments