Skip to content

Commit

Permalink
Cleanup unused includeNonce from #1954
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Sep 20, 2024
1 parent 67329e0 commit 6cf671e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/state/wallet/saga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function* openWalletFromPrivateKey({ payload }: PayloadAction<OpenFromPri
const publicKeyBytes = nacl.sign.keyPair.fromSecretKey(hex2uint(payload.privateKey)).publicKey
const walletAddress = yield* call(publicKeyToAddress, publicKeyBytes)
const publicKey = uint2hex(publicKeyBytes)
const balance = yield* call(getAccountBalanceWithFallback, walletAddress, { includeNonce: false })
const balance = yield* call(getAccountBalanceWithFallback, walletAddress)

yield* call(addWallet, {
address: walletAddress,
Expand Down Expand Up @@ -127,7 +127,7 @@ export function* addWallet(payload: AddWalletPayload) {

function* fetchWallet(action: PayloadAction<Wallet>) {
const wallet = action.payload
const balance = yield* call(getAccountBalanceWithFallback, wallet.address, { includeNonce: false })
const balance = yield* call(getAccountBalanceWithFallback, wallet.address)
yield* put(
walletActions.updateBalance({
address: wallet.address,
Expand Down

0 comments on commit 6cf671e

Please sign in to comment.