Skip to content

Commit

Permalink
Revert "set packet reward share ts to that of packet ts" (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck authored Apr 19, 2023
1 parent dffd44f commit 180b0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iot_verifier/src/reward_share.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl GatewayDCShare {
pub fn share_from_packet(packet: &IotValidPacket) -> Self {
Self {
hotspot_key: packet.gateway.clone(),
reward_timestamp: packet.packet_timestamp,
reward_timestamp: Utc::now(),
num_dcs: Decimal::new(packet.num_dcs as i64, 0),
id: packet.packet_id(),
}
Expand Down

0 comments on commit 180b0f4

Please sign in to comment.