mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 21:59:54 +01:00
Get timestamp for abort message in same way as other messages.
This commit is contained in:
@@ -523,8 +523,7 @@ class IntroducerProtocolEngine
|
|||||||
IntroducerSession s, AbortMessage m) throws DbException {
|
IntroducerSession s, AbortMessage m) throws DbException {
|
||||||
// Forward ABORT message
|
// Forward ABORT message
|
||||||
Introducee i = getOtherIntroducee(s, m.getGroupId());
|
Introducee i = getOtherIntroducee(s, m.getGroupId());
|
||||||
long localTimestamp = max(i.getLocalTimestamp(),
|
long localTimestamp = getLocalTimestamp(txn, s, i);
|
||||||
s.getRequestTimestamp()) + 1;
|
|
||||||
Message sent = sendAbortMessage(txn, i, localTimestamp);
|
Message sent = sendAbortMessage(txn, i, localTimestamp);
|
||||||
|
|
||||||
// Broadcast abort event for testing
|
// Broadcast abort event for testing
|
||||||
|
|||||||
Reference in New Issue
Block a user