Skip to content

Commit

Permalink
Merge branch 'matej/feed-value-provider-url' into 'main'
Browse files Browse the repository at this point in the history
fix: value provider example url without slash

See merge request flarenetwork/fast-updates!21
  • Loading branch information
tilenflare committed Apr 25, 2024
2 parents 7bc3dd2 + 2764e1d commit ab293ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go-client/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ incentive_manager_address = "0x78Aeff0658Fa67735fBF99Ce7CDB01Fe5D520259"
submission_window = 10
advance_blocks = 0
max_weight = 512
value_provider_base_url = "http://localhost:3101/feed-values/"
value_provider_base_url = "http://localhost:3101"

[transactions]
accounts = [
Expand Down
2 changes: 1 addition & 1 deletion go-client/provider/http_feed_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c *HttpValuesProvider) GetFeedValues(feeds []FeedId) ([]FeedValue, error)
}

// TODO: Should we specify voting round id instead of 0?
body, err := c.post("feed-values/0", req)
body, err := c.post("/feed-values/0", req)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ab293ff

Please sign in to comment.