mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 20:53:02 +02:00
lnwire: add *OpaqueAddrs case in WriteElements
And then expand the chanbackup unit tests to cover such a case.
This commit is contained in:
@@ -157,6 +157,7 @@ func TestFetchStaticChanBackups(t *testing.T) {
|
||||
chanSource.addAddrsForNode(randomChan1.IdentityPub, []net.Addr{addr1})
|
||||
chanSource.addAddrsForNode(randomChan2.IdentityPub, []net.Addr{addr2})
|
||||
chanSource.addAddrsForNode(randomChan2.IdentityPub, []net.Addr{addr3})
|
||||
chanSource.addAddrsForNode(randomChan2.IdentityPub, []net.Addr{addr4})
|
||||
|
||||
// With the channel source populated, we'll now attempt to create a set
|
||||
// of backups for all the channels. This should succeed, as all items
|
||||
|
Reference in New Issue
Block a user