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