Skip to content

Commit

Permalink
Review rework
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Oct 27, 2020
1 parent d804856 commit 9580b98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ spec = describe "SHELLEY_TRANSACTIONS" $ do
txDeleteFromDifferentWalletTest emptyRandomWallet "byron-wallets"

it "TRANS_TTL_DELETE_01 - Shelley: can remove expired tx" $ \ctx -> do
(wa, wb) <- (,) <$> fixtureWallet ctx <*> fixtureWallet ctx
(wa, wb) <- (,) <$> fixtureWallet ctx <*> emptyWallet ctx
let amt = minUTxOValue :: Natural

-- this transaction is going to expire really soon.
Expand Down
2 changes: 1 addition & 1 deletion lib/core/src/Cardano/Wallet/Api/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@ instance LiftHandler ErrRemoveTx where
ErrRemoveTxAlreadyInLedger tid ->
apiError err403 TransactionNotPending $ mconcat
[ "The transaction with id: ", toText tid,
" cannot be forgotten as it is not pending anymore."
" cannot be forgotten as it is already in the ledger."
]

instance LiftHandler ErrPostTx where
Expand Down

0 comments on commit 9580b98

Please sign in to comment.