Skip to content

Commit d62bdfc

Browse files
committed
fix: UTXO's -> UTXOs
1 parent deba55f commit d62bdfc

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/screens/Settings/AddressViewer/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ const AddressViewer = (): ReactElement => {
257257
);
258258
// The private key of the currently selected address to display qrcode data for.
259259
const [privateKey, setPrivateKey] = useState<string | undefined>(undefined);
260-
// Available array of UTXO's after checking for a balance.
260+
// Available array of UTXOs after checking for a balance.
261261
const [utxos, setUtxos] = useState<IUtxo[] | undefined>();
262-
// Total balance of available UTXO's after checking for a balance.
262+
// Total balance of available UTXOs after checking for a balance.
263263
const [totalBalance, setTotalBalance] = useState(0);
264-
// An array of UTXO's that are currently selected for spending.
264+
// An array of UTXOs that are currently selected for spending.
265265
const [selectedUtxos, setSelectedUtxos] = useState<IUtxo[]>([]);
266266
const [searchTxt, setSearchTxt] = useState('');
267267
// Addresses filtered from a search query in onSearch.
@@ -615,7 +615,7 @@ const AddressViewer = (): ReactElement => {
615615
);
616616

617617
/**
618-
* This method will gather all selected UTXO's and setup an on-chain transaction.
618+
* This method will gather all selected UTXOs and setup an on-chain transaction.
619619
* The on-chain transaction will retrieve and include the app's receiving address by default.
620620
* Finally, this method will prompt the sendNavigation modal to appear for the user to finalize and confirm the transaction.
621621
*/
@@ -735,7 +735,7 @@ const AddressViewer = (): ReactElement => {
735735
}, [getMoreAddresses]);
736736

737737
/**
738-
* Retrieves the balance and UTXO's associated with all addresses of each type.
738+
* Retrieves the balance and UTXOs associated with all addresses of each type.
739739
*/
740740
const onCheckBalance = useCallback(async (): Promise<void> => {
741741
setIsCheckingBalances(true);

src/screens/Settings/DevSettings/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const DevSettings = ({
178178
onPress: widgetsCache.clear,
179179
},
180180
{
181-
title: "Clear UTXO's",
181+
title: 'Clear UTXOs',
182182
type: EItemType.button,
183183
onPress: clearUtxos,
184184
},

src/utils/i18n/locales/en/settings.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,31 +430,31 @@
430430
"string": "Smallest First"
431431
},
432432
"cs_max_description": {
433-
"string": "Sort by and use smallest UTXO first. Potentially higher fee, but hides your largest UTXO's."
433+
"string": "Sort by and use smallest UTXO first. Potentially higher fee, but hides your largest UTXOs."
434434
},
435435
"cs_min": {
436436
"string": "Largest First"
437437
},
438438
"cs_min_description": {
439-
"string": "Sort by and use largest UTXO first. Potentially lower fee, but reveals your largest UTXO's."
439+
"string": "Sort by and use largest UTXO first. Potentially lower fee, but reveals your largest UTXOs."
440440
},
441441
"cs_consolidate": {
442442
"string": "Consolidate"
443443
},
444444
"cs_consolidate_description": {
445-
"string": "Use all available UTXO's regardless of the amount being sent. Use this method when fees are low in order to reduce fees in future transactions."
445+
"string": "Use all available UTXOs regardless of the amount being sent. Use this method when fees are low in order to reduce fees in future transactions."
446446
},
447447
"cs_first_in_first_out": {
448448
"string": "First-In First-Out"
449449
},
450450
"cs_first_in_first_out_description": {
451-
"string": "Use older UTXO's first (by block height)."
451+
"string": "Use older UTXOs first (by block height)."
452452
},
453453
"cs_last_in_last_out": {
454454
"string": "Last-In Last-Out"
455455
},
456456
"cs_last_in_last_out_description": {
457-
"string": "Use newer UTXO's first (by block height)."
457+
"string": "Use newer UTXOs first (by block height)."
458458
},
459459
"payment_preference": {
460460
"string": "Payment Preference"

src/utils/i18n/locales/en/wallet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
"string": "Please increase your send amount to proceed."
229229
},
230230
"send_coin_selection_output_to_small_description": {
231-
"string": "Please remove UTXO's or increase your send amount to proceed."
231+
"string": "Please remove UTXOs or increase your send amount to proceed."
232232
},
233233
"send_fee_error_min": {
234234
"string": "Unable to decrease the fee any further."

src/utils/wallet/electrum.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const isConnectedElectrum = async (): Promise<boolean> => {
4141
};
4242

4343
/**
44-
* Formats a provided array of addresses a returns their UTXO's & balances.
44+
* Formats a provided array of addresses a returns their UTXOs & balances.
4545
* @param {IAddress[]} allAddresses
4646
* @returns {Promise<Result<IGetUtxosResponse>>}
4747
*/
@@ -58,7 +58,7 @@ export const getAddressUtxos = async ({
5858
};
5959

6060
/**
61-
* Queries Electrum to return the available UTXO's and balance of the provided addresses.
61+
* Queries Electrum to return the available UTXOs and balance of the provided addresses.
6262
* @param {TUnspentAddressScriptHashData} addresses
6363
*/
6464
export const listUnspentAddressScriptHashes = async ({

src/utils/wallet/transactions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
} from './index';
4141

4242
/*
43-
* Attempt to estimate the current fee for a given wallet and its UTXO's
43+
* Attempt to estimate the current fee for a given wallet and its UTXOs
4444
*/
4545
export const getTotalFee = ({
4646
satsPerByte,

0 commit comments

Comments
 (0)