@@ -185,7 +185,13 @@ class StatelessTransaction extends React.Component {
186 this.setState({ txStatus: SUBMISSION_STATES.FUNDING });
186 this.setState({ txStatus: SUBMISSION_STATES.FUNDING });
188− const rawTx = hexify(state.stx.value.serialize());
188+ const stx = state.stx.matchWith({
189+ Just: tx => tx.value,
191+ throw BRIDGE_ERROR.MISSING_TXN;
194+ const rawTx = hexify(stx.serialize());
189 const cost = (state.gasLimit * toWei(state.gasPrice, 'gwei'));
195 const cost = (state.gasLimit * toWei(state.gasPrice, 'gwei'));
191 //TODO need a lib function or something for address=, it's everywhere
197 //TODO need a lib function or something for address=, it's everywhere