Skip to content

Commit

Permalink
remove plural
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Nov 27, 2024
1 parent 8011b01 commit 3a57b4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,9 @@ export class Wallet {
/**
* Convert a list of Blockbook transactions to HistoricalTxs
* @param {import('./transaction.js').Transaction} tx - A Transaction
* @returns {Promise<HistoricalTx>} - The corresponding `HistoricalTx`- formatted transactions
* @returns {Promise<HistoricalTx>} - The corresponding `HistoricalTx`- formatted transaction
*/
async #toHistoricalTXs(tx) {
async #toHistoricalTX(tx) {
const { credit, ownAllVout } = this.#mempool.getCredit(tx);
const { debit, ownAllVin } = this.#mempool.getDebit(tx);
// The total 'delta' or change in balance, from the Tx's sums
Expand Down Expand Up @@ -779,7 +779,7 @@ export class Wallet {
* @param {Transaction} tx
*/
async #pushToHistoricalTx(tx) {
const hTx = await this.#toHistoricalTXs(tx);
const hTx = await this.#toHistoricalTX(tx);
this.#historicalTxs.insert(hTx);
}

Expand Down

0 comments on commit 3a57b4e

Please sign in to comment.