Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bridges/centralized-ethereum/src/actors/dr_reporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub struct Report {
/// Data Request's unique query id as known by the WitnetOracle contract
pub dr_id: DrId,
/// Timestamp at which the reported result was actually generated
pub dr_timestamp: u64,
pub dr_timestamp: i64,
/// Hash of the Data Request Transaction in the Witnet blockchain
pub dr_tx_hash: Hash,
/// Hash of the Data Request Tally Transaction in the Witnet blockchain
Expand Down
2 changes: 1 addition & 1 deletion bridges/centralized-ethereum/src/actors/dr_sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl DrSender {

dr_reporter_msgs.push(Report {
dr_id,
dr_timestamp: u64::from_ne_bytes(get_timestamp().to_ne_bytes()),
dr_timestamp: i64::from_ne_bytes(get_timestamp().to_ne_bytes()),
dr_tx_hash: zero_hash,
dr_tally_tx_hash: zero_hash,
result,
Expand Down
Loading
Loading