Page MenuHomePhabricator

Add assertion to randrange that input is not 0
ClosedPublic

Authored by PiRK on Nov 2 2020, 13:51.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC7d825c51c440: Add assertion to randrange that input is not 0
Summary

randrange is not intended to be called with argument 0.

This is a backport of Core PR17293

Test Plan

ninja all check-all

Diff Detail

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