Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jy14898 committed Dec 1, 2022
1 parent 3731e79 commit f48d039
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Internal/BalanceTx/BalanceTx.purs
Expand Up @@ -164,7 +164,6 @@ balanceTxWithConstraints unbalancedTx constraintsBuilder = do
utxos <- liftEitherContract $
parTraverse (queryHandle.utxosAt >>> liftAff >>> map hush) srcAddrs <#>
traverse (note CouldNotGetUtxos)

>>> map (foldr Map.union Map.empty) -- merge all utxos into one map

unbalancedCollTx <-
Expand Down
3 changes: 1 addition & 2 deletions src/Internal/QueryM/DatumCacheWsp.purs
Expand Up @@ -82,8 +82,7 @@ instance DecodeAeson GetTxByHashR where
txFound <|> txNotFound

-- TODO: delete
data DatumCacheMethod
= GetTxByHash
data DatumCacheMethod = GetTxByHash

derive instance Eq DatumCacheMethod

Expand Down
3 changes: 2 additions & 1 deletion test/OgmiosDatumCache.purs
Expand Up @@ -29,7 +29,8 @@ suite = group "Ogmios Datum Cache tests" $ do
\https://github.com/mlabs-haskell/purescript-aeson/issues/7)"
plutusDataToFromAesonTest
test "Plutus data samples should have a compatible hash" plutusDataHashingTest
-- TODO Add GetTxByHash

-- TODO Add GetTxByHash

readPlutusDataSamples
:: forall (m :: Type -> Type)
Expand Down
2 changes: 1 addition & 1 deletion test/Plutip/Staking.purs
Expand Up @@ -8,9 +8,9 @@ import Prelude
import Contract.Address
( PaymentPubKeyHash(PaymentPubKeyHash)
, PubKeyHash(PubKeyHash)
, getNetworkId
, ownPaymentPubKeysHashes
, ownStakePubKeysHashes
, getNetworkId
)
import Contract.Credential (Credential(ScriptCredential))
import Contract.Hashing (plutusScriptStakeValidatorHash, publicKeyHash)
Expand Down

0 comments on commit f48d039

Please sign in to comment.