Skip to content

Commit

Permalink
fix debugging logic
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Jan 25, 2024
1 parent 6468aa3 commit 66d59f3
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,19 @@ where
"Revoking attribute {:#?}",
String::from_utf8_lossy(&attribute)
);
let res = self.registry.revoke_attribute_signed(
address,
signature.v.try_into()?,
signature.r.into(),
signature.s.into(),
attribute,
value.into(),
);

let res = res.send().await;
if let Err(ref e) = res {
println!("{}", e);
}
res?.await?;
let res = self
.registry
.revoke_attribute_signed(
address,
signature.v.try_into()?,
signature.r.into(),
signature.s.into(),
attribute,
value.into(),
)
.send()
.await?
.await?;

Ok(())
}
Expand Down

0 comments on commit 66d59f3

Please sign in to comment.