From 2a9e8c35e4f3c00ef531b987fc23865205064447 Mon Sep 17 00:00:00 2001 From: kth-tw <88102592+kth-tw@users.noreply.github.com> Date: Thu, 10 Feb 2022 08:28:31 +0000 Subject: [PATCH] rename updateAnchorPeerSteps fetchChannelBlock to fetchChannelConfig --- src/service/channel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service/channel.ts b/src/service/channel.ts index 2e2a24fa..6d51a9cd 100644 --- a/src/service/channel.ts +++ b/src/service/channel.ts @@ -71,7 +71,7 @@ export default class Channel extends AbstractService { */ public async updateAnchorPeer (data: ChannelUpdateAnchorPeerType): Promise { logger.debug('Channel update anchor peer') - await this.updateAnchorPeerSteps().fetchChannelBlock(data) + await this.updateAnchorPeerSteps().fetchChannelConfig(data) await this.updateAnchorPeerSteps().computeUpdateConfigTx(data) await this.updateAnchorPeerSteps().signConfigTx(data) return this.updateAnchorPeerSteps().updateChannelConfig(data) @@ -82,7 +82,7 @@ export default class Channel extends AbstractService { */ public updateAnchorPeerSteps () { return { - fetchChannelBlock: async (dto: ChannelUpdateAnchorPeerType): Promise => { + fetchChannelConfig: async (dto: ChannelUpdateAnchorPeerType): Promise => { const { channelName } = dto const signType = this.config.orgType