Rename fetchTransactions to fetchAddressHistory

This commit is contained in:
Jim Hamill
2025-04-09 02:03:27 +00:00
parent a662d5cc7e
commit 05f858549b
6 changed files with 27 additions and 15 deletions
+3 -3
View File
@@ -60,11 +60,11 @@ export class Blockchain extends BaseBlockchain {
}
}
async fetchTransactions(address: string) {
async fetchAddressHistory(address: string) {
if (this.blockchainElectrum.isConnected) {
return await this.blockchainElectrum.fetchTransactions(address);
return await this.blockchainElectrum.fetchAddressHistory(address);
} else {
return await this.blockchainLocal.fetchTransactions(address);
return await this.blockchainLocal.fetchAddressHistory(address);
}
}