Page MenuHomePhabricator

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

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

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Feb 11 2019, 13:06
Herald added a reviewer: Restricted Project. · View Herald TranscriptFeb 11 2019, 13:06
Herald added a subscriber: schancel. · View Herald Transcript
jasonbcox accepted this revision.Feb 11 2019, 17:52
This revision is now accepted and ready to land.Feb 11 2019, 17:52
This revision was automatically updated to reflect the committed changes.