Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Fixed wrong instanceof for address type (from int to long) #255

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

danielnovy
Copy link

If an address is provided as an integer, it should be long instead of int.

@PiDelport
Copy link

Note that this won't work on Python 3.

To be compatible with both Python 2 and 3, a conditional reference could be used, such as:

long if sys.version_info < (3,) else int

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants