aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorAlex Willmer <[email protected]>2020-06-15 21:36:54 +0100
committerGitHub <[email protected]>2020-06-15 21:36:54 +0100
commit47b49a05eafddcaef373f70436d794e9f9f7495c (patch)
tree47d7056bc239c39ae356724677cfe39cc15e0077 /src/httpserver.cpp
parentMerge #19276: ci: Move travis workarounds to .travis.yml (diff)
downloaddiscoin-47b49a05eafddcaef373f70436d794e9f9f7495c.tar.xz
discoin-47b49a05eafddcaef373f70436d794e9f9f7495c.zip
contrib: Fix SyntaxWarning in Python base58 implementation
In Python integers should be compared for equality (`i == j`), not identity (`i is j`). Recent versions of CPython 3.x emit a SyntaxWarning when they encounter this incorrect usage, e.g. ``` $ python3 base58.py base58.py:110: SyntaxWarning: "is" with a literal. Did you mean "=="? assert get_bcaddress_version('15VjRaDX9zpbA8LVnbrCAFzrVzN7ixHNsC') is 0 Tests passed ```
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions