mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 14:22:39 +01:00
reduced polling interval to 10s
This commit is contained in:
parent
82fe428b99
commit
6e33c036b0
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class PollingWatcher(client: BitcoinJsonRPCClient)(implicit ec: ExecutionContext
|
|||
|
||||
case w: Watch if !watches.contains(w) =>
|
||||
log.info(s"adding watch $w for $sender")
|
||||
val cancellable = context.system.scheduler.schedule(2 seconds, 30 seconds)(w match {
|
||||
val cancellable = context.system.scheduler.schedule(2 seconds, 10 seconds)(w match {
|
||||
case w@WatchConfirmed(channel, txId, minDepth, event) =>
|
||||
getTxConfirmations(client, txId.toString).map(_ match {
|
||||
case Some(confirmations) if confirmations >= minDepth =>
|
||||
|
|
Loading…
Add table
Reference in a new issue