Skip to content

Commit

Permalink
Merge pull request #120 from eval-exec/patch-5
Browse files Browse the repository at this point in the history
Update mod.rs, fix clippy
  • Loading branch information
quake authored May 13, 2024
2 parents d7521b9 + 28a0709 commit 79859e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transaction/input/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod transaction_input;
use anyhow::{anyhow, Error};
use ckb_types::packed::Script;
pub use transaction_input::TransactionInput;

Expand Down Expand Up @@ -75,7 +74,7 @@ impl InputIterator {

fn collect_live_cells(&mut self) -> Result<(), CellCollectorError> {
loop {
if self.lock_scripts.len() == 0 {
if self.lock_scripts.is_empty() {
return Ok(());
}

Expand Down

0 comments on commit 79859e0

Please sign in to comment.