Page MenuHomePhabricator

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

Authored by Fabien on Mon, Feb 11, 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.Mon, Feb 11, 13:06
Herald added a reviewer: Restricted Project. · View Herald TranscriptMon, Feb 11, 13:06
Herald added a subscriber: schancel. · View Herald Transcript
jasonbcox accepted this revision.Mon, Feb 11, 17:52
This revision is now accepted and ready to land.Mon, Feb 11, 17:52
This revision was automatically updated to reflect the committed changes.