Page MenuHomePhabricator

Refactor MinimalizeBigEndianArray t be part of CScriptNum
ClosedPublic

Authored by deadalnix on Mar 19 2018, 14:01.

Details

Summary

Also make the logic LE, like everything related to numbers

Test Plan

Move test case over to scriptnum_tests.cpp . Add check against CScriptNum::IsMinimallyEncoded to make sure both are consistent.

Diff Detail

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