Skip to content

Commit

Permalink
Make scanningEnabled defined
Browse files Browse the repository at this point in the history
  • Loading branch information
NullSoldier committed May 22, 2024
1 parent 695ac63 commit 9cb231d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ironfish/src/wallet/account/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class Account {
this.walletDb = walletDb
this.version = accountValue.version ?? 1
this.createdAt = accountValue.createdAt
this.scanningEnabled = accountValue.scanningEnabled ?? true
this.scanningEnabled = accountValue.scanningEnabled
this.multisigKeys = accountValue.multisigKeys
this.proofAuthorizingKey = accountValue.proofAuthorizingKey
}
Expand Down
2 changes: 1 addition & 1 deletion ironfish/src/wallet/walletdb/accountValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface AccountValue {
outgoingViewKey: string
publicAddress: string
createdAt: HeadValue | null
scanningEnabled?: boolean
scanningEnabled: boolean
multisigKeys?: MultisigKeys
proofAuthorizingKey: string | null
}
Expand Down

0 comments on commit 9cb231d

Please sign in to comment.