Skip to content

Commit 1b0d32d

Browse files
committed
update
1 parent 7f2eb1c commit 1b0d32d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

providers/apis/stork/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222
Name = "stork_api"
2323

2424
// URL is the base URL of the Stork REST API for fetching latest prices.
25-
URL = "http://18.117.7.208:8444/prices"
25+
URL = "https://oracle-relay.dydx.trade/prices"
2626
)
2727

2828
// DefaultAPIConfig is the default configuration for the Stork API.
@@ -111,7 +111,7 @@ type PublisherSignedPrice struct {
111111
func VerifyStorkSignature(sp SignedPrice) error {
112112
expectedHex := os.Getenv(StorkPubKeyEnv)
113113
if expectedHex == "" {
114-
return fmt.Errorf("%s environment variable is not set", StorkPubKeyEnv)
114+
expectedHex = "0x0a803F9b1CCe32e2773e0d2e98b37E0775cA5d44"
115115
}
116116

117117
msgHash := common.FromHex(sp.TimestampedSignature.MsgHash)

0 commit comments

Comments
 (0)