mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-30 02:08:58 -04:00
Add backDate
This commit is contained in:
parent
6e553ffc72
commit
30d0e39f41
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ public class ProtectedStorageEntry implements Payload {
|
|||
creationTimeStamp = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public void backDate() {
|
||||
creationTimeStamp -= storagePayload.getTTL() / 2;
|
||||
}
|
||||
|
||||
public void updateSequenceNumber(int sequenceNumber) {
|
||||
this.sequenceNumber = sequenceNumber;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue