mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-01-30 18:42:15 +00:00
Updated coin checkpoints location.
This commit is contained in:
parent
3d00f0b5ed
commit
9d6704ec42
@ -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/CalDescent1/piratewallet-light-cli/p2sh/coin-checkpoint.json") {
|
let cps = match reqwest::blocking::get("https://raw.githubusercontent.com/Qortal/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