Skip to content

Conversation

@hopeyen
Copy link
Contributor

@hopeyen hopeyen commented May 13, 2022

small catch for the potential BlockPointers being returned as string that isn't being parsed to types properly using

export const parseGraphQLBlockPointer = (block: any): BlockPointer => ({
number: +block.number,
hash: block.hash,
})

Copy link
Contributor

@fordN fordN left a comment

Choose a reason for hiding this comment

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

👍

@hopeyen hopeyen merged commit 0e25cf5 into main May 17, 2022
@hopeyen hopeyen deleted the hope/poi-start-block-type branch May 17, 2022 17:43
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