Browse Source
Merge pull request #804 from LN-Zap/fix/auto-update-channel-list
fix(channels): fetch channels after peer connections
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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) { |
|
|
|