interledgerjs / ilp-plugin-xrp-paychan

Send ILP payments over Ripple using XRP and payment channels
9 stars 12 forks source link

Fix: load incoming channel details when incomingChannel comes from store #40

Closed sharafian closed 6 years ago

sharafian commented 6 years ago

In the previous version, the payment channel details would never be loaded if they came from the store. Because all reloadIncomingChannelDetails calls were wrapped in if (!this._incomingChannel) they would never get called if the channel was loaded from the store.