funding+lnwire: rename and fix make lint

Fix linter and rename `funding_locked.go` to `channel_ready.go`
This commit is contained in:
yyforyongyu
2023-03-16 06:04:27 +08:00
parent d4ad5f362f
commit dc3f83c670
4 changed files with 64 additions and 31 deletions

View File

@@ -567,7 +567,6 @@ func TestLightningWireProtocol(t *testing.T) {
v[0] = reflect.ValueOf(req)
},
MsgChannelReady: func(v []reflect.Value, r *rand.Rand) {
var c [32]byte
if _, err := r.Read(c[:]); err != nil {
t.Fatalf("unable to generate chan id: %v", err)