chore: fix some minor issues in the comments

Signed-off-by: cloudclaim <824973921@qq.com>
This commit is contained in:
cloudclaim 2025-06-28 20:49:11 +08:00
parent b9c2ac93b5
commit ac1043a1e0
4 changed files with 4 additions and 4 deletions

View File

@ -616,7 +616,7 @@ impl RescanSetting {
return Task::none();
}
self.processing = true;
info!("Asking deamon to rescan with timestamp: {}", t);
info!("Asking daemon to rescan with timestamp: {}", t);
return Task::perform(
async move {
daemon.start_rescan(t.try_into().expect("t cannot be inferior to 0 otherwise genesis block timestamp is chosen"))

View File

@ -336,7 +336,7 @@ pub fn import_descriptor<'a>(
let backup_imported = if imported_backup {
Some(
Row::new()
.push(text("Backup successfuly imported!").bold())
.push(text("Backup successfully imported!").bold())
.push(Space::with_width(Length::Fill)),
)
} else {

View File

@ -611,7 +611,7 @@ fn main() -> Result<(), Box<dyn Error>> {
fn setup_panic_hook(liana_directory: &LianaDirectory) {
let bitcoind_dir = liana_directory.bitcoind_directory();
std::panic::set_hook(Box::new(move |panic_info| {
error!("Panic occured");
error!("Panic occurred");
if let Err(e) = delete_all_bitcoind_locks_for_process(bitcoind_dir.clone()) {
error!("Failed to delete internal bitcoind locks: {}", e);
}

View File

@ -257,7 +257,7 @@ pub struct Transaction {
pub raw: bitcoin::Transaction,
pub inputs: Vec<Input>,
pub outputs: Vec<Output>,
/// If the transaction has multiple incoming or ougoing payment.
/// If the transaction has multiple incoming or outgoing payments.
pub is_batch: bool,
}