htlcswitch: update test utilities to latest switch/link changes

This commit is contained in:
Olaoluwa Osuntokun committed 2017-06-17 00:03:42 +02:00
1 parent 399d193e2c
commit e477241de1
3 files changed
+179 -100

No files matched your search

+1
View File
@@ -105,6 +105,7 @@ func (m *circuitMap) remove(key circuitKey) (*paymentCircuit, error) {
if circuit.RefCount--; circuit.RefCount == 0 {
delete(m.circuits, key)
}
return circuit, nil
}