Fixed the comment for ContextualCheckTransaction to be more accurate
Summary
The comment implied that this function is called only for "non-coinbase" transactions, however it actually is called for all transactions in ContextualCheckBlock() (including coinbase).
The comment was misleading. Fixed. Also fixed some typos.
Test Plan
Review the code in validation.cpp
and convince yourself that the comment was misleading -- (t is called for all txns, including coinbase in a big for
loop in ContextualCheckBlock
.
Edited by Calin Culianu