Change last_height calc to be min utxo height