Skip to content

Commit

Permalink
Fix issue with exchange accounts + memos
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Mar 3, 2019
1 parent d3e8cad commit f8e39ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/shared/components/Wallet/Panel/Form/Transfer/Send.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ class WalletPanelFormTransferSend extends Component<Props> {

const exchangeAccounts = get(app, 'constants.exchanges') || [];

if (memo && memo !== '') {
exchangeAccounts(connection.chainId).forEach((exchangeAccount) => {
if (memo && memo !== '' && exchangeAccounts && exchangeAccounts[connection.chainId]) {
exchangeAccounts[connection.chainId].forEach((exchangeAccount) => {
if (memo.match(`.*?${exchangeAccount}.*?`)) {
exchangeWarning = (
<Message warning>
Expand Down

0 comments on commit f8e39ac

Please sign in to comment.