重构: 优化性能的区块链重构
- 移除 BlockChain.ts 中不必要的日志记录 - 修正 BlockChain.ts 中一个变量名的拼写错误 - 改善 BlockChain.ts 中的代码可读性和可维护性
This commit is contained in:
parent
e3cf76fb02
commit
97d44f2d31
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user