mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 23:29:52 +01:00
rm number of shards and threshold from shard messages in stub
This commit is contained in:
@@ -29,7 +29,7 @@ class DarkCrystalStub implements DarkCrystal {
|
|||||||
for (int i = 0; i < numShards; i++) {
|
for (int i = 0; i < numShards; i++) {
|
||||||
byte[] shard = new byte[123];
|
byte[] shard = new byte[123];
|
||||||
random.nextBytes(shard);
|
random.nextBytes(shard);
|
||||||
shards.add(new Shard(secretId, numShards, threshold, shard));
|
shards.add(new Shard(secretId, shard));
|
||||||
}
|
}
|
||||||
return shards;
|
return shards;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user