diff --git a/react/src/actions/actions/nativeSend.js b/react/src/actions/actions/nativeSend.js index c524567..6bbe843 100644 --- a/react/src/actions/actions/nativeSend.js +++ b/react/src/actions/actions/nativeSend.js @@ -27,7 +27,7 @@ export function sendNativeTx(coin, _payload) { token: Config.token, params: (_payload.addressType === 'public' && _payload.sendTo.length !== 95) || !_payload.sendFrom ? - (_payload.substractFee ? + (_payload.subtractFee ? [ _payload.sendTo, _payload.amount, diff --git a/react/src/components/dashboard/sendCoin/sendCoin.js b/react/src/components/dashboard/sendCoin/sendCoin.js index 84d3eb8..bbad99a 100644 --- a/react/src/components/dashboard/sendCoin/sendCoin.js +++ b/react/src/components/dashboard/sendCoin/sendCoin.js @@ -426,7 +426,8 @@ class SendCoin extends React.Component { this.state.amount * 100000000, this.state.sendTo, this.props.Dashboard.electrumCoins[this.props.ActiveCoin.coin].pub - ).then((sendPreflight) => { + ) + .then((sendPreflight) => { if (sendPreflight && sendPreflight.msg === 'success') { this.setState(Object.assign({}, this.state, {