Skip to content

Commit 4af9060

Browse files
committed
update icrc3 - fix typo
1 parent 4a18644 commit 4af9060

File tree

6 files changed

+51
-9
lines changed

6 files changed

+51
-9
lines changed

Cargo.lock

Lines changed: 47 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ members = [
2323
"src/icrc3",
2424
"src/icrc3_archive_api",
2525
"src/icrc3_archive_c2c_client",
26+
"src/icrc3_c2c_client",
2627
]
2728

2829
[profile.release]

src/icrc3/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bity-ic-icrc3"
3-
version = "0.4.8"
3+
version = "0.4.9"
44
edition = "2021"
55
license = "MIT"
66
description = "bity icrc3 library"

src/icrc3/src/transaction.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,6 @@ impl TransactionType for ICRC7Transaction {
469469
if self.tx.tid.is_none() {
470470
return Err("Token ID is required for update_token".to_string());
471471
}
472-
if self.tx.from.is_none() {
473-
return Err("From is required for update_token".to_string());
474-
}
475472
if self.tx.to.is_some() {
476473
return Err("To is not allowed for update_token".to_string());
477474
}

src/icrc3/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub mod icrc3_get_blocks {
5656
}
5757

5858
/// Module containing types for the `icrc3_get_tip_certificate` endpoint.
59-
pub mod icrc3_get_tip_cerificate {
59+
pub mod icrc3_get_tip_certificate {
6060
use icrc_ledger_types::icrc3::blocks::ICRC3DataCertificate;
6161

6262
/// Arguments for the `icrc3_get_tip_certificate` endpoint
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pub use bity_ic_icrc3::types::icrc3_get_tip_cerificate::{Args, Response};
1+
pub use bity_ic_icrc3::types::icrc3_get_tip_certificate::{Args, Response};

0 commit comments

Comments
 (0)