HomePhabricator

Use tobytes instead of tostring in netutil.py

Description

Use tobytes instead of tostring in netutil.py

Summary: tostring was deprecated in pything 3.7 and this is spewing errors

Test Plan:

./test/functional/test_runner.py rpcbind_test.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2211

Details

Provenance
deadalnixAuthored on Dec 21 2018, 11:30
deadalnixPushed on Dec 21 2018, 12:03
Reviewer
Restricted Project
Differential Revision
D2211: Use tobytes instead of tostring in netutil.py
Parents
rABC852b274c442a: Use nullptr instead of zero (0) as the null pointer constant
Branches
Unknown
Tags
Unknown