Skip to content

quaiblockheight.py error: TypeError: unsupported operand type(s) for -: 'int' and 'NoneType' #1

@yellow-dragon

Description

@yellow-dragon

root@quai-node:~# python3 quaiblockheight.py
Script running after 0:32:08.775536
Traceback (most recent call last):
File "/root/quaiblockheight.py", line 66, in
block_difference = height - previous_data["block_heights"][name]["height"]
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

How to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions