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

This commit is contained in:
Christopher Jämthagen authored and Olaoluwa Osuntokun committed 2017-02-22 15:46:59 -08:00
1 parent 3983e0693b
commit 97aa478ce1
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ func createTestChannelState(cdb *DB) (*OpenChannel, error) {
}
}
var obsfucator [4]byte
var obsfucator [6]byte
copy(obsfucator[:], key[:])
return &OpenChannel{
+2 -2
View File
@@ -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,