You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tap-manager): adds an error when receipt timestamp window is inverted
if the user chooses a timestamp buffer that causes the max timestamp to be less than the min timestamp than an error is thrown. This can be due to a timestamp buffer that is too large.
Signed-off-by: Bryan Cole <[email protected]>
Copy file name to clipboardExpand all lines: tap_core/src/tap_manager/manager.rs
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,8 @@ impl<
149
149
///
150
150
/// Returns [`Error::AdapterError`] if unable to fetch previous RAV or if unable to fetch previous receipts
151
151
///
152
+
/// Returns [`Error::TimestampRangeError`] if the max timestamp of the previous RAV is greater than the min timestamp. Caused by timestamp buffer being too large, or requests coming too soon.
0 commit comments