mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-21 17:20:03 +02:00
htlcswitch/circuit_test: use CircuitKey field names
This commit is contained in:
parent
8379bbaa9b
commit
b608fca447
@ -227,7 +227,10 @@ func TestCircuitMapPersistence(t *testing.T) {
|
|||||||
|
|
||||||
cfg, circuitMap := newCircuitMap(t)
|
cfg, circuitMap := newCircuitMap(t)
|
||||||
|
|
||||||
circuit := circuitMap.LookupCircuit(htlcswitch.CircuitKey{chan1, 0})
|
circuit := circuitMap.LookupCircuit(htlcswitch.CircuitKey{
|
||||||
|
ChanID: chan1,
|
||||||
|
HtlcID: 0,
|
||||||
|
})
|
||||||
if circuit != nil {
|
if circuit != nil {
|
||||||
t.Fatalf("LookupByHTLC returned a circuit before any were added: %v",
|
t.Fatalf("LookupByHTLC returned a circuit before any were added: %v",
|
||||||
circuit)
|
circuit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user