lnd.xprv/contractcourt
Johan T. Halseth 9b9fada675
contractcourt: remove unecessary contractRes check
This commit removes a short circuit checking if the contract resolver
after a unilateral close is empty. After removing this, the state
machine will advance the state from StateDefault->ContractClosed, in
which the stateCallback will be called, logging the state needed to
advance. Since this logged state is empty, the state machine will go
directly to StateFullyResolved, which will trigger the
MarkChannelResolved call. This means the behaviour is kept.
2018-04-25 09:37:21 +02:00
..
briefcase_test.go build+multi: switch from bolt to bbolt 2018-03-10 19:01:13 -08:00
briefcase.go multi: fix a-vs-an typos 2018-04-17 19:02:04 -07:00
chain_arbitrator_test.go contractcourt: add new ChainArbitrator struct as central coordinator of package 2018-01-22 19:19:36 -08:00
chain_arbitrator.go multi: fix a-vs-an typos 2018-04-17 19:02:04 -07:00
chain_watcher.go multi: fix a-vs-an typos 2018-04-17 19:02:04 -07:00
channel_arbitrator_test.go contractcourt: add new ChannelArbitrator struct 2018-01-22 19:19:34 -08:00
channel_arbitrator.go contractcourt: remove unecessary contractRes check 2018-04-25 09:37:21 +02:00
contract_resolvers_test.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
contract_resolvers.go multi: fix typos in comments 2018-04-17 19:03:27 -07:00
log.go contractcourt: create new package, add logger 2018-01-22 19:19:34 -08:00