mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-26 08:25:18 -04:00
more punishment cleanup
This commit is contained in:
parent
3f59f3bde3
commit
9d3e847a68
9 changed files with 40 additions and 29 deletions
|
@ -91,6 +91,13 @@ extension DHTRecordDescriptorExt on DHTRecordDescriptor {
|
|||
}
|
||||
return KeyPair(key: owner, secret: ownerSecret!);
|
||||
}
|
||||
|
||||
TypedKeyPair? ownerTypedKeyPair() {
|
||||
if (ownerSecret == null) {
|
||||
return null;
|
||||
}
|
||||
return TypedKeyPair(kind: key.kind, key: owner, secret: ownerSecret!);
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue