diff --git a/app/components/Contacts/SubmitChannelForm.js b/app/components/Contacts/SubmitChannelForm.js index 4d5d5d0f..bd77e6d7 100644 --- a/app/components/Contacts/SubmitChannelForm.js +++ b/app/components/Contacts/SubmitChannelForm.js @@ -39,7 +39,7 @@ class SubmitChannelForm extends React.Component { const formSubmitted = () => { // dont submit to LND if they havent set channel capacity amount if (contactCapacity > 0) { return } - + // submit the channel to LND openChannel({ pubkey: node.pub_key, host: node.addresses[0].addr, local_amt: contactCapacity }) diff --git a/app/components/Wallet/Wallet.js b/app/components/Wallet/Wallet.js index 847d396b..9baf8622 100644 --- a/app/components/Wallet/Wallet.js +++ b/app/components/Wallet/Wallet.js @@ -7,7 +7,6 @@ import { btc, blockExplorer } from 'utils' import Value from 'components/Value' import AnimatedCheckmark from 'components/AnimatedCheckmark' -import bitcoinIcon from 'icons/bitcoin.svg' import zapLogo from 'icons/zap_logo.svg' import qrCode from 'icons/qrcode.svg' @@ -134,7 +133,11 @@ Wallet.propTypes = { openReceiveModal: PropTypes.func.isRequired, showPayLoadingScreen: PropTypes.bool.isRequired, showSuccessPayScreen: PropTypes.bool.isRequired, - successTransactionScreen: PropTypes.object.isRequired + successTransactionScreen: PropTypes.object.isRequired, + currentCurrencyFilters: PropTypes.array.isRequired, + currencyName: PropTypes.string.isRequired, + setCurrency: PropTypes.func.isRequired, + setWalletCurrencyFilters: PropTypes.func.isRequired } export default Wallet diff --git a/test/reducers/__snapshots__/info.spec.js.snap b/test/reducers/__snapshots__/info.spec.js.snap index 1fd77f2b..00700f8d 100644 --- a/test/reducers/__snapshots__/info.spec.js.snap +++ b/test/reducers/__snapshots__/info.spec.js.snap @@ -4,6 +4,7 @@ exports[`reducers infoReducer should correctly getInfo 1`] = ` Object { "data": Object {}, "infoLoading": true, + "showWalletCurrencyFilters": false, } `; @@ -11,6 +12,7 @@ exports[`reducers infoReducer should correctly receiveInfo 1`] = ` Object { "data": "foo", "infoLoading": false, + "showWalletCurrencyFilters": false, } `; @@ -18,5 +20,6 @@ exports[`reducers infoReducer should handle initial state 1`] = ` Object { "data": Object {}, "infoLoading": false, + "showWalletCurrencyFilters": false, } `; diff --git a/test/reducers/__snapshots__/ticker.spec.js.snap b/test/reducers/__snapshots__/ticker.spec.js.snap index 28c328ee..0126a1b1 100644 --- a/test/reducers/__snapshots__/ticker.spec.js.snap +++ b/test/reducers/__snapshots__/ticker.spec.js.snap @@ -19,6 +19,7 @@ Object { "name": "satoshis", }, ], + "fromCurrency": "sats", "ltcTicker": null, "tickerLoading": true, } @@ -43,6 +44,7 @@ Object { "name": "satoshis", }, ], + "fromCurrency": "sats", "ltcTicker": undefined, "tickerLoading": false, } @@ -67,6 +69,7 @@ Object { "name": "satoshis", }, ], + "fromCurrency": "sats", "ltcTicker": null, "tickerLoading": false, } @@ -91,6 +94,7 @@ Object { "name": "satoshis", }, ], + "fromCurrency": "", "ltcTicker": null, "tickerLoading": false, } @@ -115,6 +119,7 @@ Object { "name": "satoshis", }, ], + "fromCurrency": "sats", "ltcTicker": null, "tickerLoading": false, }