Skip to content

Commit 7e32f96

Browse files
committed
CRC: remove unnecessary std::cmp::max for local and global received time
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 2d36bd9 commit 7e32f96

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

stacks-signer/src/signerdb.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,10 +1722,7 @@ impl SignerDb {
17221722
error!("Failed to convert received_time to u64: {e}");
17231723
DBError::Corruption
17241724
})?;
1725-
return Ok(Some(std::cmp::max(
1726-
received_time,
1727-
local_received_time.unwrap_or(0),
1728-
)));
1725+
return Ok(Some(received_time));
17291726
}
17301727
}
17311728

0 commit comments

Comments
 (0)