diff --git a/app/components/GlobalError/GlobalError.js b/app/components/GlobalError/GlobalError.js index 63a4f0a7..a0e8b2ab 100644 --- a/app/components/GlobalError/GlobalError.js +++ b/app/components/GlobalError/GlobalError.js @@ -3,7 +3,6 @@ import PropTypes from 'prop-types' import styles from './GlobalError.scss' const GlobalError = ({ error }) => { - console.log('error: ', error) if (!error) { return null } return (
@@ -12,6 +11,8 @@ const GlobalError = ({ error }) => { ) } -GlobalError.propTypes = {} +GlobalError.propTypes = { + error: PropTypes.string +} export default GlobalError diff --git a/app/lnd/methods/channelController.js b/app/lnd/methods/channelController.js index a508904b..dd328ad0 100644 --- a/app/lnd/methods/channelController.js +++ b/app/lnd/methods/channelController.js @@ -72,7 +72,8 @@ export function closeChannel(lnd, event, payload) { channel_point: { funding_txid: BufferUtil.hexToBuffer(tx), output_index: Number(payload.channel_point.output_index) - } + }, + force: true } return new Promise((resolve, reject) =>