lnwire: embed ChannelID within the announcement structs rather than pointer

This commit is contained in:
Olaoluwa Osuntokun committed 2016-12-27 16:43:21 -08:00
1 parent 597b4ee3d3
commit 5ee201e712
4 files changed
+10 -8

No files matched your search

+3 -2
View File
@@ -7,10 +7,11 @@ import (
"reflect"
"testing"
"net"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/txscript"
"github.com/roasbeef/btcd/wire"
"net"
)
// Common variables and functions for the message tests
@@ -103,7 +104,7 @@ var (
someAddress = &net.TCPAddr{IP: net.ParseIP("127.0.0.1"), Port: 8333}
someChannelID = &ChannelID{
someChannelID = ChannelID{
BlockHeight: maxUint24,
TxIndex: maxUint24,
TxPosition: maxUint16,