Merge #1565: chore: fix some typos

37f0d543604b41254c466f3b3ddd3b16b42f560c chore: fix some typos (zoupingshi)

Pull request description:

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

Tree-SHA512: ce04a47a018be1cac92dcadc67e00330cee1d4767c37cedda9daa88164988365c97c17bf5e65480b89dcc7e86855d48d94e69889e3c385501c7eeb3cd6139141
This commit is contained in:
edouardparis 2025-02-10 15:39:23 +01:00
commit a46cb5f8b4
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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,

View File

@ -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(
@ -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.
*/
@ -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.
*/
@ -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.
*/

View File

@ -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.
*/