From 5be8f08b16dcd50509dfb0b69069419983464000 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Tue, 4 Dec 2018 16:59:20 -0800 Subject: [PATCH] chainntnfs/txnotiifer: define MaxNumConfs supported as ReorgSafetyLimit --- chainntnfs/txnotifier.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chainntnfs/txnotifier.go b/chainntnfs/txnotifier.go index 9e819ea4..4e670e2e 100644 --- a/chainntnfs/txnotifier.go +++ b/chainntnfs/txnotifier.go @@ -17,6 +17,10 @@ const ( // handled correctly. The average number of blocks in a day is a // reasonable value to use. ReorgSafetyLimit = 144 + + // MaxNumConfs is the maximum number of confirmations that can be + // requested on a transaction. + MaxNumConfs = ReorgSafetyLimit ) var (