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
parent
commit
9c13384423
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/components/Activity/Activity.js

3
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) {

Loading…
Cancel
Save