Update checkpoints URL

This commit is contained in:
CalDescent 2022-05-28 17:10:56 +02:00
parent fdc99f9d10
commit fb2bd249cc

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 cps = match reqwest::blocking::get("https://raw.githubusercontent.com/piratenetwork/piratewallet-light-cli/master/coin-checkpoint.json") {
let cps = match reqwest::blocking::get("https://raw.githubusercontent.com/CalDescent1/piratewallet-light-cli/p2sh/coin-checkpoint.json") {
Ok(s) => {
match s.json::<CoinList>() {
Ok(j) => Some(j),