mirror of https://github.com/BTCPrivate/lnd.git
lnwallet test: update test to new error message
This commit is contained in:
parent
6942e1479d
commit
781c2a6eb4
|
@ -581,7 +581,7 @@ func testReservationInitiatorBalanceBelowDustCancel(miner *rpctest.Harness,
|
||||||
t.Fatalf("initialization should have failed due to " +
|
t.Fatalf("initialization should have failed due to " +
|
||||||
"insufficient local amount")
|
"insufficient local amount")
|
||||||
|
|
||||||
case !strings.Contains(err.Error(), "local output is too small"):
|
case !strings.Contains(err.Error(), "Funder balance too small"):
|
||||||
t.Fatalf("incorrect error: %v", err)
|
t.Fatalf("incorrect error: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue