mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 01:03:03 +02:00
funding: run gofmt -s on funding manager tests
This commit is contained in:
@@ -549,7 +549,7 @@ func assertErrorNotSent(t *testing.T, msgChan chan lnwire.Message) {
|
|||||||
select {
|
select {
|
||||||
case <-msgChan:
|
case <-msgChan:
|
||||||
t.Fatalf("error sent unexpectedly")
|
t.Fatalf("error sent unexpectedly")
|
||||||
case <- time.After(100 * time.Millisecond):
|
case <-time.After(100 * time.Millisecond):
|
||||||
// Expected, return.
|
// Expected, return.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -579,7 +579,7 @@ func assertFundingMsgSent(t *testing.T, msgChan chan lnwire.Message,
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
sentMsg lnwire.Message
|
sentMsg lnwire.Message
|
||||||
ok bool
|
ok bool
|
||||||
)
|
)
|
||||||
switch msgType {
|
switch msgType {
|
||||||
case "AcceptChannel":
|
case "AcceptChannel":
|
||||||
|
Reference in New Issue
Block a user