Skip to content

Conversation

@flux627
Copy link
Contributor

@flux627 flux627 commented Oct 3, 2019

No description provided.

const nextBlock2 = await actionReader.getNextBlock()
await actionHandler.handleBlock(nextBlock2, false)
expect(actionReader.currentBlockNumber).not.toBe(1)
expect(actionReader._currentBlockNumber).not.toBe(1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn’t this be a function call?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it's a getter method, so you access it like a property.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah reading helps 👍

@flux627 flux627 merged commit 45adc85 into develop Oct 3, 2019
@flux627 flux627 deleted the upgrade-to-edge branch October 3, 2019 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants