Skip to content

Commit

Permalink
const fn
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Mar 1, 2024
1 parent 37d52aa commit 1badfa3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sdk/src/wallet/operations/syncing/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,27 @@ pub struct SyncOptions {
pub sync_implicit_accounts: bool,
}

fn default_force_syncing() -> bool {
const fn default_force_syncing() -> bool {
DEFAULT_FORCE_SYNCING
}

fn default_sync_incoming_transactions() -> bool {
const fn default_sync_incoming_transactions() -> bool {
DEFAULT_SYNC_INCOMING_TRANSACTIONS
}

fn default_sync_only_most_basic_outputs() -> bool {
const fn default_sync_only_most_basic_outputs() -> bool {
DEFAULT_SYNC_ONLY_MOST_BASIC_OUTPUTS
}

fn default_sync_pending_transactions() -> bool {
const fn default_sync_pending_transactions() -> bool {
DEFAULT_SYNC_PENDING_TRANSACTIONS
}

fn default_sync_native_token_foundries() -> bool {
const fn default_sync_native_token_foundries() -> bool {
DEFAULT_SYNC_NATIVE_TOKEN_FOUNDRIES
}

fn default_sync_implicit_accounts() -> bool {
const fn default_sync_implicit_accounts() -> bool {
DEFAULT_SYNC_IMPLICIT_ACCOUNTS
}

Expand Down

0 comments on commit 1badfa3

Please sign in to comment.