mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 14:44:22 +01:00
watchtower/wtserver: add NoAckCreateSession for testing
This commit is contained in:
@@ -56,6 +56,10 @@ type Config struct {
|
||||
// ChainHash identifies the network that the server is watching.
|
||||
ChainHash chainhash.Hash
|
||||
|
||||
// NoAckCreateSession causes the server to not reply to create session
|
||||
// requests, this should only be used for testing.
|
||||
NoAckCreateSession bool
|
||||
|
||||
// NoAckUpdates causes the server to not acknowledge state updates, this
|
||||
// should only be used for testing.
|
||||
NoAckUpdates bool
|
||||
|
||||
Reference in New Issue
Block a user