update checkpoints endpoint

This commit is contained in:
Cryptoforge 2021-03-14 19:34:45 -07:00
parent a2966cb9c1
commit 5a7848381e

View File

@ -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),