diff --git a/Cargo.lock b/Cargo.lock index 84d9c995e1..6d0447a4fb 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#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "groestl", "primitives", @@ -621,7 +621,7 @@ dependencies = [ [[package]] name = "chain" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "bitcrypto", "primitives", @@ -2201,7 +2201,7 @@ dependencies = [ [[package]] name = "keys" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "base58", "bitcrypto", @@ -3464,7 +3464,7 @@ dependencies = [ [[package]] name = "primitives" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "bigint", "byteorder 1.3.4", @@ -3944,7 +3944,7 @@ dependencies = [ [[package]] name = "rpc" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "chain", "keys", @@ -4106,7 +4106,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "script" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "bitcrypto", "blake2b_simd", @@ -4276,7 +4276,7 @@ dependencies = [ [[package]] name = "serialization" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" dependencies = [ "byteorder 1.3.4", "primitives", @@ -4285,7 +4285,7 @@ dependencies = [ [[package]] name = "serialization_derive" version = "0.1.0" -source = "git+https://github.com/artemii235/parity-bitcoin.git#5d03650ea4ac29ca9fe392511de24859dec05821" +source = "git+https://github.com/artemii235/parity-bitcoin.git#ee0b069ac9bb67eb7f26d8fca946cb8cb61a1cf6" 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 b29179652c..905c1cecdf 100644 --- a/mm2src/coins/utxo/utxo_tests.rs +++ b/mm2src/coins/utxo/utxo_tests.rs @@ -2418,3 +2418,13 @@ fn firo_mtp() { .unwrap(); assert_eq!(mtp, 1616492629); } + +#[test] +fn verus_mtp() { + let electrum = electrum_client_for_test(&["el0.verus.io:17485", "el1.verus.io:17485", "el2.verus.io:17485"]); + let mtp = electrum + .get_median_time_past(1480113, NonZeroU64::new(11).unwrap()) + .wait() + .unwrap(); + assert_eq!(mtp, 1618579909); +}