From 6a7ed61ef35e78626df279cc4093c7f8a81e8ccb Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 20 Sep 2018 12:40:43 -0500 Subject: [PATCH] fix(channels): fetch channels after peer connections --- app/components/Activity/Activity.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/components/Activity/Activity.js b/app/components/Activity/Activity.js index 431dafbe..08f1a632 100644 --- a/app/components/Activity/Activity.js +++ b/app/components/Activity/Activity.js @@ -41,6 +41,9 @@ class Activity extends Component { fetchInvoices() fetchTransactions() fetchChannels() + + // HACK: wait 10 seconds and fetch channels again, allowing the node to establish connections with the remote party + setTimeout(() => fetchChannels(), 10000) } renderActivity(activity) {