Skip to content

Commit 9dc8bf8

Browse files
committed
fixed coconut key existence check in key derivation
1 parent 30229ac commit 9dc8bf8

File tree

1 file changed

+1
-1
lines changed
  • nym-api/src/coconut/dkg/state

1 file changed

+1
-1
lines changed

nym-api/src/coconut/dkg/state/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ impl State {
356356
}
357357

358358
pub async fn coconut_keypair_is_some(&self) -> bool {
359-
self.coconut_keypair.get().await.is_some()
359+
self.coconut_keypair.read_keys().await.is_some()
360360
}
361361

362362
pub async fn take_coconut_keypair(&self) -> Option<KeyPairWithEpoch> {

0 commit comments

Comments
 (0)