mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-12 18:01:23 +02:00
lnwallet: update interface tests due to recent API change
This commit is contained in:
parent
d5923f3832
commit
34efb380be
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user