Rename fetchTransactions to fetchAddressHistory
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user