isKeyshareLatest function
Checks if the keyshare is latest.
Implementation
isKeyshareLatest(Uint8List keyshareBytes) {
try {
dkls.DklsKeyshare.fromBytes(keyshareBytes);
return true;
} catch (e) {
return false;
}
}
Checks if the keyshare is latest.
isKeyshareLatest(Uint8List keyshareBytes) {
try {
dkls.DklsKeyshare.fromBytes(keyshareBytes);
return true;
} catch (e) {
return false;
}
}