Skip to content

Commit

Permalink
Bump ckb-sdk-rust to 3.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Eval EXEC <[email protected]>
  • Loading branch information
eval-exec committed Jun 24, 2024
1 parent 6d1aa37 commit bcc31dd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ckb-sdk"
version = "3.2.0"
version = "3.2.1"
authors = [ "Linfeng Qian <[email protected]>", "Nervos Core Dev <[email protected]>" ]
edition = "2018"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/transfer_from_omnilock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion examples/transfer_from_omnilock_ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion examples/transfer_from_omnilock_multisig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit bcc31dd

Please sign in to comment.