channeldb: change [4]byte obsfucator to [6]byte in test
This commit is contained in:
parent
3983e0693b
commit
97aa478ce1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user