Skip to content

Commit

Permalink
fix(wallet): Fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyphillips committed Feb 20, 2024
1 parent 5d43a41 commit ee3eb1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/screens/Wallets/Send/ReviewAndSend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ const ReviewAndSend = ({
}
const response = await broadcastTransaction({
rawTx: rawTx.hex,
selectedNetwork,
});
if (response.isErr()) {
// Check if it failed to broadcast due to low fee.
Expand Down Expand Up @@ -324,7 +323,7 @@ const ReviewAndSend = ({
}

navigation.navigate('Result', { success: true, txId: rawTx.id });
}, [rawTx, selectedNetwork, _onError, navigation, transaction, dispatch, t]);
}, [rawTx, _onError, navigation, transaction, dispatch, t]);

useEffect(() => {
if (rawTx) {
Expand Down
1 change: 0 additions & 1 deletion src/store/utils/blocktank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ export const confirmChannelPurchase = async ({
const broadcastResponse = await broadcastTransaction({
rawTx: rawTx.value.hex,
subscribeToOutputAddress: false,
selectedNetwork,
});
if (broadcastResponse.isErr()) {
showToast({
Expand Down

0 comments on commit ee3eb1d

Please sign in to comment.