mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-05 02:11:10 +01:00
lnwallet: fix failure messages, spacing in tests
This commit changes t.Fatal to t.Fatalf in TestCheckDustLimit so as to provide more information. This commit also makes some column width adjustments and minor spelling/formatting changes.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
a4ba72c08c
commit
c1769f959b
@@ -2189,7 +2189,8 @@ func testGraphTopologyNotifications(net *networkHarness, t *harnessTest) {
|
||||
chanUpdate := graphUpdate.ChannelUpdates[0]
|
||||
if chanUpdate.Capacity != int64(chanAmt) {
|
||||
t.Fatalf("channel capacities mismatch: expected %v, "+
|
||||
"got %v", chanAmt, chanUpdate.Capacity)
|
||||
"got %v", chanAmt,
|
||||
btcutil.Amount(chanUpdate.Capacity))
|
||||
}
|
||||
switch chanUpdate.AdvertisingNode {
|
||||
case net.Alice.PubKeyStr:
|
||||
|
||||
Reference in New Issue
Block a user