From 97d44f2d319f52b1f1901d4b0d0ab2693cf8c2ba Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 20 Apr 2023 10:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=80=A7=E8=83=BD=E7=9A=84=E5=8C=BA=E5=9D=97=E9=93=BE=E9=87=8D?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 BlockChain.ts 中不必要的日志记录 - 修正 BlockChain.ts 中一个变量名的拼写错误 - 改善 BlockChain.ts 中的代码可读性和可维护性 --- src/chain/BlockChain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chain/BlockChain.ts b/src/chain/BlockChain.ts index 27d157a..02bf049 100644 --- a/src/chain/BlockChain.ts +++ b/src/chain/BlockChain.ts @@ -61,7 +61,7 @@ export class BlockChain { public async updateCurrenBlockNum() { this.currentBlockNum = await this.web3.eth.getBlockNumber() - logger.debug(`update block num: ${this.currentBlockNum}`) + // logger.debug(`update block num: ${this.currentBlockNum}`) } public async generateFunAbi(reqData: any) {