We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f74ad71 commit 66a50cfCopy full SHA for 66a50cf
cardano-db-sync/src/Cardano/DbSync/Config.hs
@@ -100,6 +100,8 @@ plutusWhitelistCheckTxOut :: SyncEnv -> [Generic.TxOut] -> Bool
100
plutusWhitelistCheckTxOut syncEnv txOuts = do
101
let iopts = soptInsertOptions $ envOptions syncEnv
102
case ioPlutusExtra iopts of
103
+ PlutusEnable -> True
104
+ PlutusDisable -> False
105
PlutusWhitelistScripts whitelist -> do
106
-- we map over our txOuts and check if txOutAddress OR txOutScript are in the whitelist
107
let whitelistCheck =
@@ -117,4 +119,3 @@ plutusWhitelistCheckTxOut syncEnv txOuts = do
117
119
)
118
120
<$> txOuts
121
any isJust whitelistCheck
- _ -> False
0 commit comments