From cf6cc311efdc5c356b5e84c6d60e70377f394748 Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Wed, 15 Mar 2023 08:05:10 +0000 Subject: [PATCH] Remove a completely redundant pattern match. No idea how this was added. But it'll never match, so we can remove it. --- lib/wallet/src/Cardano/Wallet/Primitive/Migration/Selection.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/wallet/src/Cardano/Wallet/Primitive/Migration/Selection.hs b/lib/wallet/src/Cardano/Wallet/Primitive/Migration/Selection.hs index 3ecb3cf0135..30c26f7cc62 100644 --- a/lib/wallet/src/Cardano/Wallet/Primitive/Migration/Selection.hs +++ b/lib/wallet/src/Cardano/Wallet/Primitive/Migration/Selection.hs @@ -404,8 +404,6 @@ splitOutputIfSizeExceedsLimit constraints value pure value | otherwise = split value >>= splitOutputIfSizeExceedsLimit constraints - | otherwise = - pure value where split = flip TokenMap.equipartitionAssets (() :| [()])