HomePhabricator

Use ToHex() in rpc_decodescript.py, remove dependency to mininode

Authored by Fabien on Feb 11 2019, 13:05.

Description

Use ToHex() in rpc_decodescript.py, remove dependency to mininode

Summary:
Avoid using the long form bytes_to_hex_str(obj.serialize()) and remove
the global import from mininode.

Test Plan:

./test/functional/test_runner.py rpc_decodescript

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

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

Details

Committed
FabienFeb 11 2019, 18:32
Pushed
markblundebergFeb 11 2019, 23:28
Reviewer
Restricted Project
Differential Revision
D2536: Use ToHex() in rpc_decodescript.py, remove dependency to mininode
Parents
rSTAGING5f2ade873098: Remove BytesIO dependency from feature_dersig
Branches
Unknown
Tags
Unknown