Fix relative path for reward set

Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
This commit is contained in:
Jacinta Ferrant
2024-02-07 15:16:06 -08:00
parent 7ce63b243c
commit 6d352deecb

View File

@@ -622,7 +622,7 @@ impl StacksClient {
}
fn reward_set_path(&self, reward_cycle: u64) -> String {
format!("/v2/stacker_set/{reward_cycle}")
format!("{}/v2/stacker_set/{reward_cycle}", self.http_origin)
}
/// Helper function to create a stacks transaction for a modifying contract call