Skip to content

Commit bb61f45

Browse files
committed
Fix Channel.spec.created usage
1 parent fb67845 commit bb61f45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adapter/src/ethereum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ mod test {
677677
targeting: vec![],
678678
min_targeting_score: None,
679679
event_submission: Some(EventSubmission { allow: vec![] }),
680-
created: Some(Utc::now()),
680+
created: Utc::now(),
681681
active_from: None,
682682
nonce: None,
683683
withdraw_period_start: Utc::now() + Duration::days(1),

primitives/src/util/tests/prep_db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ lazy_static! {
7575
min_targeting_score: None,
7676
event_submission: Some(EventSubmission { allow: vec![] }),
7777
// July 29, 2019 7:00:00 AM
78-
created: Some(Utc.timestamp(1_564_383_600, 0)),
78+
created: Utc.timestamp(1_564_383_600, 0),
7979
active_from: None,
8080
nonce: Some(nonce),
8181
withdraw_period_start: Utc.timestamp_millis(4_073_414_400_000),

0 commit comments

Comments
 (0)