From bcc31dd76390e4327f335ced07fc520bf82a91da Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Fri, 7 Jun 2024 11:05:50 +0800 Subject: [PATCH] Bump ckb-sdk-rust to 3.2.1 Signed-off-by: Eval EXEC --- Cargo.toml | 2 +- README.md | 2 +- examples/transfer_from_omnilock.rs | 2 +- examples/transfer_from_omnilock_ethereum.rs | 2 +- examples/transfer_from_omnilock_multisig.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fc2be1b3..ca9638e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-sdk" -version = "3.2.0" +version = "3.2.1" authors = [ "Linfeng Qian ", "Nervos Core Dev " ] edition = "2018" license = "MIT" diff --git a/README.md b/README.md index b74bc965..bdc6128d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ These features allow for seamless interaction with CKB and facilitate the develo ```toml # Cargo.toml [dependencies] -ckb-sdk = "3.2.0" +ckb-sdk = "3.2.1" ``` ## Build diff --git a/examples/transfer_from_omnilock.rs b/examples/transfer_from_omnilock.rs index b9a0b7cd..9aee72a9 100644 --- a/examples/transfer_from_omnilock.rs +++ b/examples/transfer_from_omnilock.rs @@ -335,7 +335,7 @@ fn build_omnilock_cell_dep( tx_hash: tx_hash.clone(), index: ckb_jsonrpc_types::Uint32::from(index as u32), }; - let cell_status = ckb_client.get_live_cell(out_point_json, false)?; + let cell_status = ckb_client.get_live_cell(out_point_json, false, None)?; let script = Script::from(cell_status.cell.unwrap().output.type_.unwrap()); let type_hash = script.calc_script_hash(); diff --git a/examples/transfer_from_omnilock_ethereum.rs b/examples/transfer_from_omnilock_ethereum.rs index 52543ac8..d91982f6 100644 --- a/examples/transfer_from_omnilock_ethereum.rs +++ b/examples/transfer_from_omnilock_ethereum.rs @@ -342,7 +342,7 @@ fn build_omnilock_cell_dep( tx_hash: tx_hash.clone(), index: ckb_jsonrpc_types::Uint32::from(index as u32), }; - let cell_status = ckb_client.get_live_cell(out_point_json, false)?; + let cell_status = ckb_client.get_live_cell(out_point_json, false, None)?; let script = Script::from(cell_status.cell.unwrap().output.type_.unwrap()); let type_hash = script.calc_script_hash(); diff --git a/examples/transfer_from_omnilock_multisig.rs b/examples/transfer_from_omnilock_multisig.rs index fc94ca66..77ace77a 100644 --- a/examples/transfer_from_omnilock_multisig.rs +++ b/examples/transfer_from_omnilock_multisig.rs @@ -391,7 +391,7 @@ fn build_omnilock_cell_dep( tx_hash: tx_hash.clone(), index: ckb_jsonrpc_types::Uint32::from(index as u32), }; - let cell_status = ckb_client.get_live_cell(out_point_json, false)?; + let cell_status = ckb_client.get_live_cell(out_point_json, false, None)?; let script = Script::from(cell_status.cell.unwrap().output.type_.unwrap()); let type_hash = script.calc_script_hash();