diff --git a/Cargo.lock b/Cargo.lock index 301eaa89df..61fca85ef3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -369,7 +369,7 @@ dependencies = [ [[package]] name = "bitcrypto" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "groestl", "primitives", @@ -642,7 +642,7 @@ dependencies = [ [[package]] name = "chain" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "bitcrypto", "primitives", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "keys" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "base58", "bitcrypto", @@ -3571,7 +3571,7 @@ dependencies = [ [[package]] name = "primitives" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "bigint", "byteorder 1.3.4", @@ -4082,7 +4082,7 @@ dependencies = [ [[package]] name = "rpc" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "chain", "keys", @@ -4278,7 +4278,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "script" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "bitcrypto", "blake2b_simd", @@ -4483,7 +4483,7 @@ dependencies = [ [[package]] name = "serialization" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "byteorder 1.3.4", "primitives", @@ -4492,7 +4492,7 @@ dependencies = [ [[package]] name = "serialization_derive" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#8eb61445ff6c8e321d945c348798c0f354a9d44d" +source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" dependencies = [ "quote 0.3.15", "syn 0.11.11", diff --git a/mm2src/coins/utxo/utxo_tests.rs b/mm2src/coins/utxo/utxo_tests.rs index ee5fa03c4b..457c496e5e 100644 --- a/mm2src/coins/utxo/utxo_tests.rs +++ b/mm2src/coins/utxo/utxo_tests.rs @@ -2402,3 +2402,17 @@ fn doge_mtp() { .unwrap(); assert_eq!(mtp, 1614849084); } + +#[test] +fn firo_mtp() { + let electrum = electrum_client_for_test(&[ + "electrumx01.firo.org:50001", + "electrumx02.firo.org:50001", + "electrumx03.firo.org:50001", + ]); + let mtp = electrum + .get_median_time_past(356730, NonZeroU64::new(11).unwrap()) + .wait() + .unwrap(); + assert_eq!(mtp, 1616492629); +}