Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Mar 2, 2021
1 parent 249edb9 commit a7637e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions lib/core-integration/cardano-wallet-core-integration.cabal
Expand Up @@ -68,6 +68,8 @@ library
, retry
, say
, scrypt
, stm
, exceptions
, template-haskell
, text
, text-class
Expand Down
4 changes: 2 additions & 2 deletions lib/shelley/src/Cardano/Wallet/Shelley/Network.hs
Expand Up @@ -448,15 +448,15 @@ withNetworkLayerBase tr np conn (versionData, _) action = do

AnyCardanoEra ShelleyEra -> do
let cmd = CmdSubmitTx $ unsealShelleyTx GenTxShelley tx
result <- liftIO $ timeQryAndLog "postTx" tr $
result <- liftIO $
localTxSubmissionQ `send` cmd
case result of
SubmitSuccess -> pure ()
SubmitFail err -> throwE $ ErrPostTxBadRequest $ T.pack (show err)

AnyCardanoEra AllegraEra -> do
let cmd = CmdSubmitTx $ unsealShelleyTx GenTxAllegra tx
result <- liftIO $ timeQryAndLog "postTx" tr $
result <- liftIO $
localTxSubmissionQ `send` cmd
case result of
SubmitSuccess -> pure ()
Expand Down
4 changes: 1 addition & 3 deletions lib/shelley/test/integration/Main.hs
Expand Up @@ -113,7 +113,7 @@ import System.FilePath
import System.IO
( BufferMode (..), hSetBuffering, stderr, stdout )
import Test.Hspec
( hspec )
( afterAll, hspec )
import Test.Hspec.Core.Spec
( Spec, SpecWith, describe, parallel, sequential )
import Test.Hspec.Extra
Expand All @@ -126,8 +126,6 @@ import Test.Integration.Faucet
)
import Test.Integration.Framework.Context
( Context (..), PoolGarbageCollectionEvent (..) )
import Test.Integration.Framework.DSL
( KnownCommand (..) )
import Test.Integration.Framework.Profile
( logTestProfile )
import Test.Utils.Paths
Expand Down

0 comments on commit a7637e7

Please sign in to comment.