channeldb: change [4]byte obsfucator to [6]byte in test

This commit is contained in:
Christopher Jämthagen 2017-01-09 09:40:34 +01:00 committed by Olaoluwa Osuntokun
parent 3983e0693b
commit 97aa478ce1
2 changed files with 3 additions and 3 deletions

@ -132,7 +132,7 @@ func createTestChannelState(cdb *DB) (*OpenChannel, error) {
}
}
var obsfucator [4]byte
var obsfucator [6]byte
copy(obsfucator[:], key[:])
return &OpenChannel{

@ -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,