channeldb: change [4]byte obsfucator to [6]byte in test
This commit is contained in:
1 parent
3983e0693b
commit
97aa478ce1
2 files changed
+3
-3
No files matched your search
@@ -132,7 +132,7 @@ func createTestChannelState(cdb *DB) (*OpenChannel, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var obsfucator [4]byte
|
var obsfucator [6]byte
|
||||||
copy(obsfucator[:], key[:])
|
copy(obsfucator[:], key[:])
|
||||||
|
|
||||||
return &OpenChannel{
|
return &OpenChannel{
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestSingleFundingCompleteWire(t *testing.T) {
|
func TestSingleFundingCompleteWire(t *testing.T) {
|
||||||
var obsfucator [4]byte
|
var obsfucator [6]byte
|
||||||
copy(obsfucator[:], bytes.Repeat([]byte("k"), 4))
|
copy(obsfucator[:], bytes.Repeat([]byte("k"), 6))
|
||||||
|
|
||||||
// First create a new SFC message.
|
// First create a new SFC message.
|
||||||
sfc := NewSingleFundingComplete(22, *outpoint1, commitSig1, pubKey,
|
sfc := NewSingleFundingComplete(22, *outpoint1, commitSig1, pubKey,
|
||||||
|
|||||||
Reference in new issue
Block a user