Skip to content

Commit

Permalink
fix: use /rpc endpoint as target sidecar url
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Nov 21, 2024
1 parent 95ea77a commit 7f1c3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt-cli/src/commands/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl SendCommand {
// Filter out slots that are not active or in the past, to fetch the next
// active proposer slot.
lookahead_url.set_query(Some("activeOnly=true&futureOnly=true"));
self.bolt_rpc_url
self.bolt_rpc_url.join("/rpc")?
};

let lookahead_res = reqwest::get(lookahead_url).await?.json::<Vec<LookaheadSlot>>().await?;
Expand Down

0 comments on commit 7f1c3cb

Please sign in to comment.