Change confirmation window
This commit is contained in:
parent
25fad17363
commit
91b5a841f9
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue