mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-01-30 18:42:15 +00:00
update checkpoints endpoint
This commit is contained in:
parent
a2966cb9c1
commit
5a7848381e
@ -25,7 +25,7 @@ pub fn get_closest_checkpoint(chain_name: &str, coin_type: u32, height: u64) ->
|
|||||||
|
|
||||||
let mut checkpoints: Vec<(u64, String, String)> = Vec::new();
|
let mut checkpoints: Vec<(u64, String, String)> = Vec::new();
|
||||||
|
|
||||||
let cps = match reqwest::blocking::get("https://raw.githubusercontent.com/piratenetwork/piratewallet-light-cli/merge_upstream/coin-checkpoint.json") {
|
let cps = match reqwest::blocking::get("https://raw.githubusercontent.com/piratenetwork/piratewallet-light-cli/master/coin-checkpoint.json") {
|
||||||
Ok(s) => {
|
Ok(s) => {
|
||||||
match s.json::<CoinList>() {
|
match s.json::<CoinList>() {
|
||||||
Ok(j) => Some(j),
|
Ok(j) => Some(j),
|
||||||
|
Loading…
Reference in New Issue
Block a user