Add another assertion to narrow down where the bug occurs.
Add another assertion to narrow down where the bug occurs.

Signed-off-by: Daira Hopwood <cd7d43d5556a38ce626d53826fddc46adc597539@jacaranda.org>

bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash