Skip to content

Commit

Permalink
Merge #1565: chore: fix some typos
Browse files Browse the repository at this point in the history
37f0d54 chore: fix some typos (zoupingshi)

Pull request description:

ACKs for top commit:
  jp1ac4:
    ACK 37f0d54. Thanks!

Tree-SHA512: ce04a47a018be1cac92dcadc67e00330cee1d4767c37cedda9daa88164988365c97c17bf5e65480b89dcc7e86855d48d94e69889e3c385501c7eeb3cd6139141
  • Loading branch information
edouardparis committed Feb 10, 2025
2 parents 4dc10d1 + 37f0d54 commit a46cb5f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lianad/src/bitcoin/d/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ mod tests {
SyncProgress::new(1.0, 1_000, 999).rounded_up_progress(),
0.9999
);
// approximatively year 2198
// approximately year 2198
assert_eq!(
SyncProgress::new(1.0, 9999999, 9999998).rounded_up_progress(),
0.9999
Expand Down
2 changes: 1 addition & 1 deletion lianad/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ impl DaemonControl {
Ok(())
}

/// list_confirmed_transactions retrieves a limited list of transactions which occured between two given dates.
/// list_confirmed_transactions retrieves a limited list of transactions which occurred between two given dates.
pub fn list_confirmed_transactions(
&self,
start: u32,
Expand Down
8 changes: 4 additions & 4 deletions lianad/src/database/sqlite/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub struct SqliteDb {
}

impl SqliteDb {
/// Instanciate an SQLite database either from an existing database file or by creating a fresh
/// Instantiate an SQLite database either from an existing database file or by creating a fresh
/// one.
/// NOTE: don't forget to apply any migration with `maybe_apply_migration` if necessary.
pub fn new(
Expand Down Expand Up @@ -984,7 +984,7 @@ CREATE TABLE tip (
* now (and the foreseeable future).
*
* The 'timestamp' field is the creation date of the wallet. We guarantee to have seen all
* information related to our descriptor(s) that occured after this date.
* information related to our descriptor(s) that occurred after this date.
* The optional 'rescan_timestamp' field is a the timestamp we need to rescan the chain
* for events related to our descriptor(s) from.
*/
Expand Down Expand Up @@ -1054,7 +1054,7 @@ CREATE TABLE tip (
* now (and the foreseeable future).
*
* The 'timestamp' field is the creation date of the wallet. We guarantee to have seen all
* information related to our descriptor(s) that occured after this date.
* information related to our descriptor(s) that occurred after this date.
* The optional 'rescan_timestamp' field is a the timestamp we need to rescan the chain
* for events related to our descriptor(s) from.
*/
Expand Down Expand Up @@ -1140,7 +1140,7 @@ CREATE TABLE tip (
* now (and the foreseeable future).
*
* The 'timestamp' field is the creation date of the wallet. We guarantee to have seen all
* information related to our descriptor(s) that occured after this date.
* information related to our descriptor(s) that occurred after this date.
* The optional 'rescan_timestamp' field is a the timestamp we need to rescan the chain
* for events related to our descriptor(s) from.
*/
Expand Down
2 changes: 1 addition & 1 deletion lianad/src/database/sqlite/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CREATE TABLE tip (
* now (and the foreseeable future).
*
* The 'timestamp' field is the creation date of the wallet. We guarantee to have seen all
* information related to our descriptor(s) that occured after this date.
* information related to our descriptor(s) that occurred after this date.
* The optional 'rescan_timestamp' field is a the timestamp we need to rescan the chain
* for events related to our descriptor(s) from.
*/
Expand Down

0 comments on commit a46cb5f

Please sign in to comment.