mirror of https://github.com/BTCPrivate/lnd.git
funding: run gofmt -s on funding manager tests
This commit is contained in:
parent
0befe41384
commit
d3cb451ead
|
@ -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":
|
||||||
|
|
Loading…
Reference in New Issue