diff --git a/src/high_level.rs b/src/high_level.rs index da5be32..e17f61e 100644 --- a/src/high_level.rs +++ b/src/high_level.rs @@ -1,5 +1,4 @@ use crate::ckb_constants::*; -use crate::debug; use crate::error::SysError; use crate::syscalls; use alloc::{ffi::CString, string::String, vec, vec::Vec}; @@ -567,8 +566,7 @@ impl Result> Iterator for QueryIter { } Err(SysError::IndexOutOfBound) => None, Err(err) => { - debug!("QueryIter error {:?}", err); - panic!("QueryIter query_fn return an error") + panic!("QueryIter error {:?}", err); } } }