mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: cosmetic changes
This commit is contained in:
parent
b00eadad82
commit
9d3c3fbb5d
@ -23,6 +23,12 @@ export class LegacyWallet extends AbstractWallet {
|
||||
if (+new Date() - this._lastBalanceFetch >= 60 * 1000) {
|
||||
return true;
|
||||
}
|
||||
|
||||
for (let tx of this.transactions) {
|
||||
if (tx.confirmations < 7) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
generate() {
|
||||
@ -370,4 +376,13 @@ export class LegacyWallet extends AbstractWallet {
|
||||
'e5926dbeb57145979153adc41305b183',
|
||||
]);
|
||||
}
|
||||
|
||||
isAddressValid(address) {
|
||||
try {
|
||||
bitcoin.address.toOutputScript(address);
|
||||
return true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ module.exports = {
|
||||
send: {
|
||||
list: {
|
||||
tabBarLabel: 'Send',
|
||||
header: 'Send',
|
||||
header: 'send',
|
||||
},
|
||||
details: {
|
||||
title: 'Create Transaction',
|
||||
|
@ -312,7 +312,7 @@ export default class WalletsList extends Component {
|
||||
})()}
|
||||
title={loc.transactionTimeToReadable(rowData.received)}
|
||||
subtitle={
|
||||
(rowData.confirmations < 200 ? loc.transactions.list.conf + ': ' + rowData.confirmations + ' ' : '') +
|
||||
(rowData.confirmations < 7 ? loc.transactions.list.conf + ': ' + rowData.confirmations + ' ' : '') +
|
||||
this.txMemo(rowData.hash)
|
||||
}
|
||||
onPress={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user