Skip to content
Snippets Groups Projects
Commit d7ee6deb authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

v0.2.1

parent 6f36165f
Branches
Tags 0.2.1
No related merge requests found
Pipeline #35732 passed
......@@ -1875,7 +1875,7 @@ dependencies = [
[[package]]
name = "gcli"
version = "0.1.0"
version = "0.2.1"
dependencies = [
"anyhow",
"bs58",
......
......@@ -4,7 +4,7 @@ edition = "2021"
license = "AGPL-3.0"
name = "gcli"
repository = "https://git.duniter.org/clients/rust/gcli-v2s"
version = "0.1.0"
version = "0.2.1"
[dependencies]
# subxt is main dependency
......
......@@ -262,7 +262,9 @@ pub async fn confirm_identity(data: &Data, name: String) -> Result<(), subxt::Er
Payload<runtime::identity::calls::types::ConfirmIdentity>,
>(
data,
&runtime::tx().identity().confirm_identity(IdtyName(name.into())),
&runtime::tx()
.identity()
.confirm_identity(IdtyName(name.into())),
)
.await
}
......
......@@ -47,7 +47,9 @@ impl DisplayEvent for runtime::identity::events::IdtyConfirmed {
fn display(&self, _data: &Data) -> String {
format!(
"identity confirmed with name \"{}\" (index {}, owner key {})",
str::from_utf8(&self.name.0).unwrap(), self.idty_index, self.owner_key
str::from_utf8(&self.name.0).unwrap(),
self.idty_index,
self.owner_key
)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment