chore: fix some typos

Signed-off-by: zoupingshi <hangfachang@outlook.com>
This commit is contained in:
zoupingshi 2025-02-08 14:39:56 +08:00
parent 66f5b68a2f
commit 37f0d54360
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.
*/