diff --git a/channeldb/channel_test.go b/channeldb/channel_test.go index c56f6197..1baf1abb 100644 --- a/channeldb/channel_test.go +++ b/channeldb/channel_test.go @@ -132,7 +132,7 @@ func createTestChannelState(cdb *DB) (*OpenChannel, error) { } } - var obsfucator [4]byte + var obsfucator [6]byte copy(obsfucator[:], key[:]) return &OpenChannel{ diff --git a/lnwire/single_funding_complete_test.go b/lnwire/single_funding_complete_test.go index a340bc6c..43dfc999 100644 --- a/lnwire/single_funding_complete_test.go +++ b/lnwire/single_funding_complete_test.go @@ -7,8 +7,8 @@ import ( ) func TestSingleFundingCompleteWire(t *testing.T) { - var obsfucator [4]byte - copy(obsfucator[:], bytes.Repeat([]byte("k"), 4)) + var obsfucator [6]byte + copy(obsfucator[:], bytes.Repeat([]byte("k"), 6)) // First create a new SFC message. sfc := NewSingleFundingComplete(22, *outpoint1, commitSig1, pubKey,