More online accounts improvements

This commit is contained in:
CalDescent
2023-07-22 10:44:41 +01:00
parent 8ae7a1d65b
commit 3215bb638d
4 changed files with 14 additions and 9 deletions

View File

@@ -165,7 +165,9 @@ public class OnlineAccountsV3Tests {
byte[] pubkey = new byte[Transformer.PUBLIC_KEY_LENGTH];
RANDOM.nextBytes(pubkey);
onlineAccounts.add(new OnlineAccountData(timestamp, sig, pubkey));
Integer nonce = RANDOM.nextInt();
onlineAccounts.add(new OnlineAccountData(timestamp, sig, pubkey, nonce));
}
}