From e596d32329b9208310431a0bc3ff585e9371e0c6 Mon Sep 17 00:00:00 2001 From: Calvin Kim Date: Sun, 7 Jan 2024 22:37:53 +0900 Subject: [PATCH] addrmger: switch to utreexod/wire for tests Maybe we'll eventually end up switching over the addrmger package to the btcd package but at the moment this has been preventing the build becuase of v2 network addresses in the wire package. --- addrmgr/addrmanager_test.go | 4 ++-- addrmgr/network_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addrmgr/addrmanager_test.go b/addrmgr/addrmanager_test.go index 676913e2..e5b6f2b1 100644 --- a/addrmgr/addrmanager_test.go +++ b/addrmgr/addrmanager_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/wire" + "github.com/utreexo/utreexod/addrmgr" + "github.com/utreexo/utreexod/wire" ) // naTest is used to describe a test to be performed against the NetAddressKey diff --git a/addrmgr/network_test.go b/addrmgr/network_test.go index 8af3369f..e8b12508 100644 --- a/addrmgr/network_test.go +++ b/addrmgr/network_test.go @@ -8,8 +8,8 @@ import ( "net" "testing" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/wire" + "github.com/utreexo/utreexod/addrmgr" + "github.com/utreexo/utreexod/wire" ) // TestIPTypes ensures the various functions which determine the type of an IP