Page MenuHomePhabricator

test: Remove unused, undocumented and misleading CScript.__add__
ClosedPublic

Authored by PiRK on Jan 19 2021, 16:15.

Details

Summary

CScript is a subclass of bytes. This removes the overloaded implementation of CScript.__add__ and ensures that it raises an error instead of calling bytes.__add__.

This is a backport of Core PR18732

Test Plan

ninja check-functional-extended

Diff Detail

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