The assumption was removed in commit 3eab8b7240.
3eab8b7240
.rehash()
.calc_sha256()
bulk_vout
bulk_tx