fix: set tx_height when it is not None