We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3e8d3 commit c64b2ceCopy full SHA for c64b2ce
rsky-crypto/src/utils.rs
@@ -1,8 +1,8 @@
1
use crate::constants::{BASE58_MULTIBASE_PREFIX, DID_KEY_PREFIX};
2
use anyhow::{bail, Result};
3
use multibase::decode;
4
-use secp256k1::rand::RngCore;
5
use secp256k1::rand::rngs::OsRng;
+use secp256k1::rand::RngCore;
6
7
pub fn extract_multikey(did: &String) -> Result<String> {
8
if !did.starts_with(DID_KEY_PREFIX) {
0 commit comments