Skip to content

Commit

Permalink
fix: get fee in syncLightningTxsWithActivityList call
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Aug 9, 2023
1 parent 648912d commit 7973b72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/screens/Activity/ActivityDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -891,8 +891,8 @@ const LightningActivityDetail = ({
/>
<Button
style={styles.button}
text={t('activity_connection')}
icon={<LightningIcon color="purple" />}
text={t('activity_explore')}
icon={<GitBranchIcon color="purple" />}
testID="ActivityTxDetails"
onPress={handleExplore}
/>
Expand Down
3 changes: 2 additions & 1 deletion src/store/actions/lightning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ export const syncLightningTxsWithActivityList = async (): Promise<
message: '',
address: '',
confirmed: tx.state === 'successful',
value: -sats,
value: sats,
fee: tx.fee_paid_sat ?? 0,
timestamp: tx.unix_timestamp * 1000,
});
}
Expand Down
1 change: 0 additions & 1 deletion src/utils/i18n/locales/en/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"activity_boost": "Boost",
"activity_boosted": "Already Boosted",
"activity_explore": "Explore",
"activity_connection": "Connection",
"activity_tx_id": "Transaction ID",
"activity_payment_hash": "Payment hash",
"activity_address": "Address",
Expand Down

0 comments on commit 7973b72

Please sign in to comment.