Page MenuHomePhabricator

test: refactor: remove hex_str_to_bytes helper
ClosedPublic

Authored by PiRK on Mar 7 2022, 09:36.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCf19bc27b6096: test: refactor: remove hex_str_to_bytes helper
Summary

Use the built-in class method bytes.fromhex() instead, which is available since Python 3.0.

This is a backport of core#22593

Test Plan

ninja check-functional-extended

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable