@ -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,
@ -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, {