Skip to content

用了 Local.incrementGlobalSlot() 之后,app 里面的 this.network.blockchainLength.get() 还是 0 #349

Closed Answered by coldstar1993
linghuccc asked this question in Q&A
Discussion options

You must be logged in to vote

在LocalBlockchain的本地测试中,通过Local.setBlockchainLength( 888 )来改变 区块高度。

对于LocalBlockchain对象,修改GlobalSlot和BlockchainLength 是独立的。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by linghuccc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants