Change confirmation window

This commit is contained in:
Rene Vergara 2023-02-28 14:58:41 -06:00
parent 25fad17363
commit 91b5a841f9
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2
2 changed files with 2 additions and 2 deletions

View file

@ -1139,7 +1139,7 @@ scanZcash config pipe = do
-- | Function to filter transactions -- | Function to filter transactions
isRelevant :: Text.Regex.Regex -> ZcashTx -> Bool isRelevant :: Text.Regex.Regex -> ZcashTx -> Bool
isRelevant re t isRelevant re t
| zconfirmations t < 10 && (matchTest re . T.unpack . zmemo) t = True | zconfirmations t < 100 && (matchTest re . T.unpack . zmemo) t = True
| otherwise = False | otherwise = False
-- | Function to scan loaded viewing keys for payments -- | Function to scan loaded viewing keys for payments

View file

@ -473,7 +473,7 @@ main = do
let s = parseZGoTxBson =<< t let s = parseZGoTxBson =<< t
let conf = maybe 0 confirmations s let conf = maybe 0 confirmations s
conf `shouldSatisfy` (> 0) conf `shouldSatisfy` (> 0)
xit "payments are added to db" $ \p -> do it "payments are added to db" $ \p -> do
_ <- _ <-
access access
p p