File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/kit/src/components/TxAction Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { useAccountData } from '@onekeyhq/kit/src/hooks/useAccountData';
1818import { useSettingsPersistAtom } from '@onekeyhq/kit-bg/src/states/jotai/atoms' ;
1919import { ETranslations } from '@onekeyhq/shared/src/locale' ;
2020import accountUtils from '@onekeyhq/shared/src/utils/accountUtils' ;
21+ import networkUtils from '@onekeyhq/shared/src/utils/networkUtils' ;
2122import { EOnChainHistoryTxType } from '@onekeyhq/shared/types/history' ;
2223import {
2324 EDecodedTxDirection ,
@@ -570,7 +571,7 @@ function TxActionTransferDetailView(props: ITxActionProps) {
570571 ! isNil ( nativeTokenTransferAmountToUpdate ) &&
571572 transfer . isNative &&
572573 block . direction === EDecodedTxDirection . OUT &&
573- ! isUTXO
574+ ( ! isUTXO || networkUtils . isBTCNetwork ( networkId ) )
574575 ? nativeTokenTransferAmountToUpdate
575576 : transfer . amount
576577 } ${
You can’t perform that action at this time.
0 commit comments