Rename fetchTransactions to fetchAddressHistory
This commit is contained in:
@@ -69,9 +69,7 @@ export class BlockchainElectrum extends BaseBlockchain {
|
||||
store: BaseStore;
|
||||
opts: BlockchainElectrumOpts;
|
||||
|
||||
constructor(
|
||||
public readonly params: BlockchainElectrumParams = {},
|
||||
) {
|
||||
constructor(public readonly params: BlockchainElectrumParams = {}) {
|
||||
super();
|
||||
|
||||
// Set the store, or use the memory store by default.
|
||||
@@ -266,7 +264,7 @@ export class BlockchainElectrum extends BaseBlockchain {
|
||||
return transaction;
|
||||
}
|
||||
|
||||
async fetchTransactions(address: string) {
|
||||
async fetchAddressHistory(address: string) {
|
||||
// Wait for connection to be established before attempting to subscribe.
|
||||
// TODO: Consider doing this at a higher level.
|
||||
if (!this.isConnected) {
|
||||
|
||||
Reference in New Issue
Block a user