lnwallet: update interface tests due to recent API change

This commit is contained in:
Olaoluwa Osuntokun
2018-02-20 19:15:40 -08:00
parent d5923f3832
commit 34efb380be

View File

@@ -211,7 +211,7 @@ func loadTestCredits(miner *rpctest.Harness, w *lnwallet.LightningWallet,
} }
select { select {
case <-timeout: case <-timeout:
synced, err := w.IsSynced() synced, _, err := w.IsSynced()
if err != nil { if err != nil {
return err return err
} }
@@ -1886,7 +1886,7 @@ func waitForWalletSync(r *rpctest.Harness, w *lnwallet.LightningWallet) error {
} }
// Check for synchronization. // Check for synchronization.
synced, err = w.IsSynced() synced, _, err = w.IsSynced()
if err != nil { if err != nil {
return err return err
} }