Optimize get_conditions_from_spendbundle()
by calculating the generator's size without creating the generator
#1003
Loading