Skip to content

Commit

Permalink
fixup! Upgrade react-native-zcash
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Sep 4, 2023
1 parent d48c3b4 commit 02c0d0c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/zcash/ZcashEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export class ZcashEngine extends CurrencyEngine<
}

async startEngine(): Promise<void> {
this.engineOn = true
this.started = true
await super.startEngine()
}
Expand Down Expand Up @@ -441,13 +442,8 @@ export class ZcashEngine extends CurrencyEngine<
publicAddress: unifiedAddress
}
}

async loadEngine(): Promise<void> {
const { walletInfo } = this
await super.loadEngine()
this.engineOn = true
}
}

export async function makeCurrencyEngine(
env: PluginEnvironment<ZcashNetworkInfo>,
tools: ZcashTools,
Expand Down

0 comments on commit 02c0d0c

Please sign in to comment.