mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-20 13:27:27 +02:00
lndc: update tests due to interface change
This commit is contained in:
parent
d160a87b2a
commit
8ca9d6d22f
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ func TestConnectionCorrectness(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("unable to create listener: %v", err)
|
||||
}
|
||||
conn := NewConn(remotePriv, nil)
|
||||
conn := NewConn(nil)
|
||||
|
||||
var wg sync.WaitGroup
|
||||
var dialErr error
|
||||
|
|
@ -39,7 +39,7 @@ func TestConnectionCorrectness(t *testing.T) {
|
|||
// main one. If both errors are nil, then encryption+auth was succesful.
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
dialErr = conn.Dial(listener.Addr().String(),
|
||||
dialErr = conn.Dial(remotePriv, listener.Addr().String(),
|
||||
localPriv.PubKey().SerializeCompressed())
|
||||
wg.Done()
|
||||
}()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue