change(deps): Run `cargo update` (#7429)
* cargo update * update rustls duplicated dependency version * replace deprecated function
This commit is contained in:
parent
40c35e2729
commit
e567ab812d
418
Cargo.lock
418
Cargo.lock
File diff suppressed because it is too large
Load Diff
|
@ -74,7 +74,7 @@ skip-tree = [
|
|||
# ECC crates
|
||||
|
||||
# wait for minreq and zcash_proofs to upgrade
|
||||
{ name = "rustls", version = "=0.20.8" },
|
||||
{ name = "rustls", version = "=0.20.9" },
|
||||
|
||||
# wait for zcash_proofs to upgrade
|
||||
{ name = "webpki-roots", version = "=0.22.6" },
|
||||
|
|
|
@ -44,7 +44,7 @@ pub fn transaction() -> (Transaction, Vec<u8>) {
|
|||
|
||||
/// Returns a generated transparent lock time, and its canonical serialized bytes.
|
||||
pub fn lock_time() -> (LockTime, Vec<u8>) {
|
||||
let lock_time = LockTime::Time(DateTime::<Utc>::from_utc(
|
||||
let lock_time = LockTime::Time(DateTime::<Utc>::from_naive_utc_and_offset(
|
||||
NaiveDateTime::from_timestamp_opt(61, 0)
|
||||
.expect("in-range number of seconds and valid nanosecond"),
|
||||
Utc,
|
||||
|
|
|
@ -222,7 +222,7 @@ fn deserialize_large_transaction() {
|
|||
transparent::Output::zcash_deserialize(&zebra_test::vectors::DUMMY_OUTPUT1[..]).unwrap();
|
||||
|
||||
// Create a lock time.
|
||||
let lock_time = LockTime::Time(DateTime::<Utc>::from_utc(
|
||||
let lock_time = LockTime::Time(DateTime::<Utc>::from_naive_utc_and_offset(
|
||||
NaiveDateTime::from_timestamp_opt(61, 0)
|
||||
.expect("in-range number of seconds and valid nanosecond"),
|
||||
Utc,
|
||||
|
|
Loading…
Reference in New Issue