The result of parseTx and the input of concatTx have different but similar types, there should be helper functions to convert one in to the other.