mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 15:22:16 +00: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
@ -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…
Reference in New Issue
Block a user