fix(sortAllTxs): Renaming Electrumx.sort0ConfTxs to sortAllTxs

This commit is contained in:
Chris Troutner
2021-01-27 07:24:28 -08:00
parent 338788c46d
commit d8437cf3fb
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -369,12 +369,12 @@ describe('#ElectrumX', () => {
})
})
describe('#sort0ConfTxs', () => {
describe('#sortAllTxs', () => {
it('should GET transaction history for a single address', async () => {
const addr = 'bitcoincash:qpdh9s677ya8tnx7zdhfrn8qfyvy22wj4qa7nwqa5v'
const txs = await bchjs.Electrumx.transactions(addr)
const sortedTransactions = await bchjs.Electrumx.sort0ConfTxs(
const sortedTransactions = await bchjs.Electrumx.sortAllTxs(
txs.transactions
)
// console.log(