mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-28 17:34:25 -04:00
Gate insecure capabilities behind footgun feature
This commit is contained in:
parent
29eeebd9c1
commit
7a2a8ae4cb
15 changed files with 143 additions and 77 deletions
|
@ -319,7 +319,7 @@ Future<void> testWatchDHTValues(Stream<VeilidUpdate> updateStream) async {
|
|||
// as the watch's target
|
||||
|
||||
final rcSet = await Veilid.instance.routingContext();
|
||||
final rcWatch = await Veilid.instance.unsafeRoutingContext();
|
||||
final rcWatch = await Veilid.instance.safeRoutingContext();
|
||||
try {
|
||||
// Make a DHT record
|
||||
var rec = await rcWatch.createDHTRecord(const DHTSchema.dflt(oCnt: 10));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue