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)
|
||||
|
||||
circuit := circuitMap.LookupCircuit(htlcswitch.CircuitKey{chan1, 0})
|
||||
circuit := circuitMap.LookupCircuit(htlcswitch.CircuitKey{
|
||||
ChanID: chan1,
|
||||
HtlcID: 0,
|
||||
})
|
||||
if circuit != nil {
|
||||
t.Fatalf("LookupByHTLC returned a circuit before any were added: %v",
|
||||
circuit)
|
||||
|
Loading…
Reference in New Issue
Block a user