mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-25 15:10:18 +01:00
Payment channels: invoke destroyConn on server side even when client requested it.
This allows servers to do something useful when the channel closes normally, like forward the money onwards.
This commit is contained in:
parent
54b1054d03
commit
ea6f2a0fc3
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ public class PaymentChannelServer {
|
|||
log.info("Sending CLOSE back without broadcast settlement tx.");
|
||||
}
|
||||
conn.sendToClient(msg.build());
|
||||
conn.destroyConnection(clientRequestedClose);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue