lntest: avoid global ServeMux
Using the default, global ServeMux prevents the same process from calling `lntest.NewNetworkHarness` multiple times, because we get a panic when registering HTTP routes. Instead, we use the ServeMux beloning to the fee service struct.
This commit is contained in:
1 parent
93d12cd9fc
commit
d6045a0fd5
2 files changed
+10
-4
No files matched your search
@@ -42,6 +42,10 @@ tag](https://github.com/lightningnetwork/lnd/pull/5335). A new flag
|
||||
test](https://github.com/lightningnetwork/lnd/pull/5348) that would cause the
|
||||
test to assert the wrong balance (the miner fee wasn't accounted for).
|
||||
|
||||
A bug has been [fixed](https://github.com/lightningnetwork/lnd/pull/5674) in
|
||||
the `lntest` package that prevented multiple test harnesses to be created from
|
||||
the same process.
|
||||
|
||||
## Forwarding Optimizations
|
||||
|
||||
[Decoding onion blobs is now done in
|
||||
|
||||
Reference in new issue
Block a user