mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-09-16 03:01:48 -04:00
remove debugging code
This commit is contained in:
parent
2c779b2257
commit
be45a1b350
1 changed files with 0 additions and 2 deletions
|
@ -23,7 +23,6 @@ String cryptoKindToString(CryptoKind kind) =>
|
|||
const CryptoKind bestCryptoKind = cryptoKindVLD0;
|
||||
|
||||
Uint8List cryptoKindToBytes(CryptoKind kind) {
|
||||
assert(kind == cryptoKindVLD0, 'xxx');
|
||||
final b = Uint8List(4);
|
||||
ByteData.sublistView(b).setUint32(0, kind);
|
||||
return b;
|
||||
|
@ -35,7 +34,6 @@ CryptoKind cryptoKindFromString(String s) {
|
|||
}
|
||||
final kind =
|
||||
ByteData.sublistView(Uint8List.fromList(s.codeUnits)).getUint32(0);
|
||||
assert(kind == cryptoKindVLD0, 'xxx');
|
||||
return kind;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue