Skip to content

Commit

Permalink
Fix test failures caused by fromParts() no longer resolving "localhos…
Browse files Browse the repository at this point in the history
…t" to 127.0.0.1
  • Loading branch information
remyers committed Aug 15, 2022
1 parent ad966d0 commit c2df6d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class ApiServiceSpec extends AnyFunSuite with ScalatestRouteTest with IdiomaticM
ActorRef.noSender,
nodeId = aliceNodeId,
state = Peer.CONNECTED,
address = Some(NodeAddress.fromParts("localhost", 9731).get),
address = Some(NodeAddress.fromParts("127.0.0.1", 9731).get),
channels = 1),
PeerInfo(
ActorRef.noSender,
Expand Down Expand Up @@ -254,7 +254,7 @@ class ApiServiceSpec extends AnyFunSuite with ScalatestRouteTest with IdiomaticM
chainHash = ByteVector32(hex"06226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f"),
network = "regtest",
blockHeight = 9999,
publicAddresses = NodeAddress.fromParts("localhost", 9731).get :: Nil,
publicAddresses = NodeAddress.fromParts("127.0.0.1", 9731).get :: Nil,
onionAddress = None,
instanceId = "01234567-0123-4567-89ab-0123456789ab"
))
Expand Down

0 comments on commit c2df6d2

Please sign in to comment.