HomePhabricator

Add assertion and cast before sending reject code
5922b6774e35Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add assertion and cast before sending reject code

This gets rid of a warning. Add an assertion to make sure that the
reject code is in the correct range for the network protocol
(if it is outside the range it must be a bug)

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Aug 5 2015, 17:02
deadalnixPushed on May 14 2017, 22:04
Parents
rABCa651403e09cc: Add absurdly high fee message to validation state (for RPC propagation)
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC5922b6774e35: Add assertion and cast before sending reject code (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Aug 5 2015, 17:02