From 9e21947dd8c1a48fb896f85ac34bc7a89feb0e70 Mon Sep 17 00:00:00 2001 From: Chewing Glass Date: Mon, 7 Aug 2023 10:56:27 -0500 Subject: [PATCH] Fix build --- package.json | 2 +- src/features/dappLogin/DappLoginScreen.tsx | 5 +---- src/navigation/RootNavigator.tsx | 2 +- yarn.lock | 11 +---------- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 3729c6e4d..18e85d485 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@gorhom/portal": "1.0.14", "@helium/account-fetch-cache": "^0.2.17", "@helium/account-fetch-cache-hooks": "^0.2.17", - "@helium/address": "4.6.2", + "@helium/address": "4.10.2", "@helium/circuit-breaker-sdk": "^0.2.17", "@helium/crypto-react-native": "4.8.0", "@helium/currency-utils": "0.1.1", diff --git a/src/features/dappLogin/DappLoginScreen.tsx b/src/features/dappLogin/DappLoginScreen.tsx index f404bd749..35548f2f5 100644 --- a/src/features/dappLogin/DappLoginScreen.tsx +++ b/src/features/dappLogin/DappLoginScreen.tsx @@ -22,16 +22,13 @@ import DappAccount from './DappAccount' import DappConnect from './DappConnect' import { useWalletConnect } from './WalletConnectProvider' -export const EMPTY_B58_ADDRESS = Address.fromB58( - '13PuqyWXzPYeXcF1B9ZRx7RLkEygeL374ZABiQdwRSNzASdA1sn', -) const makeBurnTxn = async (opts: { payerB58: string }) => { const { payerB58 } = opts const txn = new TokenBurnV1({ amount: 1, payer: Address.fromB58(payerB58), - payee: EMPTY_B58_ADDRESS, + payee: Address.fromB58(payerB58), nonce: 0, memo: '', }) diff --git a/src/navigation/RootNavigator.tsx b/src/navigation/RootNavigator.tsx index b47a8b9fb..38eeb4c94 100644 --- a/src/navigation/RootNavigator.tsx +++ b/src/navigation/RootNavigator.tsx @@ -7,7 +7,7 @@ import { useColors } from '@theme/themeHooks' import React, { memo, useCallback, useEffect, useRef } from 'react' import changeNavigationBarColor from 'react-native-navigation-bar-color' import { useSelector } from 'react-redux' -import DappLoginScreen from 'src/features/dappLogin/DappLoginScreen' +import DappLoginScreen from '../features/dappLogin/DappLoginScreen' import ConnectedWallets, { ConnectedWalletsRef, } from '../features/account/ConnectedWallets' diff --git a/yarn.lock b/yarn.lock index 94278db60..2f750a3af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2275,16 +2275,7 @@ dependencies: "@solana/web3.js" "^1.43.4" -"@helium/address@4.6.2": - version "4.6.2" - resolved "https://registry.yarnpkg.com/@helium/address/-/address-4.6.2.tgz#0356bd9693ff7184f93f3c4e12c04f4f9c1db7b6" - integrity sha512-MXlT9SH4HPrBj+r71w51grZj4MUNi4o4SnDJds/yallROBK0qlO8m/bDCsKfmj0FVm861tIfQBrJc6y5vjsymg== - dependencies: - bs58 "^5.0.0" - js-sha256 "^0.9.0" - multiformats "^9.6.4" - -"@helium/address@^4.10.2": +"@helium/address@4.10.2", "@helium/address@^4.10.2": version "4.10.2" resolved "https://registry.yarnpkg.com/@helium/address/-/address-4.10.2.tgz#56960b118fceb6b6ddabe3e4ecec467d9ae50e26" integrity sha512-qCswC7Z3GXuJyHv36RcOSnffeghjqJQx0fdu2Lxpf9fgOnIi1JZO2tjjk1mBaqOwCyp+0YzrTPUoEukL/WCtsA==