test: update integration test set up to reflect recent RPC change

A prior commit modified the walletbalance RPC to return satoshi instead
of BTC. As a result, we need to update the SetUp method in the
networkHarness to ensure we expect the proper value when asserting
wallet balances.
This commit is contained in:
Olaoluwa Osuntokun committed 2017-07-04 15:53:06 -07:00
1 parent 7c5af4b851
commit 3b1db2b186
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -109,8 +109,7 @@ func (b *breachArbiter) Start() error {
// For each of the channels read from disk, we'll create a channel
// state machine in order to watch for any potential channel closures.
channelsToWatch := make([]*lnwallet.LightningChannel,
len(activeChannels))
channelsToWatch := make([]*lnwallet.LightningChannel, len(activeChannels))
for i, chanState := range activeChannels {
channel, err := lnwallet.NewLightningChannel(nil, b.notifier,
b.estimator, chanState)