Skip to content

Commit

Permalink
Allow null ethereamAddress when starting up Abacus at launch. (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored and mike-dydx committed Aug 20, 2024
1 parent 9737893 commit 5da060c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ public final class AbacusStateManager: NSObject {
}

private func reallyStart() {
if let ethereumAddress = _walletState.currentWallet?.ethereumAddress,
let cosmoAddress = _walletState.currentWallet?.cosmoAddress,
let ethereumAddress = _walletState.currentWallet?.ethereumAddress
if let cosmoAddress = _walletState.currentWallet?.cosmoAddress,
let mnemonic = _walletState.currentWallet?.mnemonic {
let walletId = _walletState.currentWallet?.walletId
setV4(ethereumAddress: ethereumAddress, walletId: walletId, cosmoAddress: cosmoAddress, mnemonic: mnemonic)
Expand Down

0 comments on commit 5da060c

Please sign in to comment.