You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// as a replay protection attack if the same did is getting a 404 it will start returning a 429,
// to get around this we just create a new did that is not published to get a 404 for this error code
if(vector_output.did_resolution_metadata.error == "notFound") {
// TODO: According to the did dht spec a 404 should be reutrned when trying to resolve a did that
// does not exists. Currently it reutrns a 429. Uncomment this when resolved - https://github.com/TBD54566975/web5-rs/issues/286
continue
// let private_jwk = Ed25519Generator::generate();
// let identity_key = ed25519::to_public_jwk(&private_jwk);
// let did_dht =
// DidDht::from_identity_key(identity_key.clone()).expect("Should create did:dht");
//
// vector_input = VectorInput{
// did_uri: did_dht.did.uri,
// };
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: