mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 07:00:55 +02:00
channeldb+lnwire: rename MsgFundingLocked
to MsgChannelReady
This commit is created by running, ```shell gofmt -d -w -r 'MsgFundingLocked -> MsgChannelReady' . gco master channeldb/migration ```
This commit is contained in:
@@ -566,7 +566,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
|
||||
v[0] = reflect.ValueOf(req)
|
||||
},
|
||||
MsgFundingLocked: func(v []reflect.Value, r *rand.Rand) {
|
||||
MsgChannelReady: func(v []reflect.Value, r *rand.Rand) {
|
||||
|
||||
var c [32]byte
|
||||
if _, err := r.Read(c[:]); err != nil {
|
||||
@@ -1013,7 +1013,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
},
|
||||
},
|
||||
{
|
||||
msgType: MsgFundingLocked,
|
||||
msgType: MsgChannelReady,
|
||||
scenario: func(m ChannelReady) bool {
|
||||
return mainScenario(&m)
|
||||
},
|
||||
|
Reference in New Issue
Block a user