Skip to content

Commit

Permalink
Remove redundant errMsg403NoSuchCosigner interpolated error string.
Browse files Browse the repository at this point in the history
This interpolated string is a duplicate of a similar interpolated string
in `Http.Server.Error`.
  • Loading branch information
jonathanknowles committed Jan 17, 2023
1 parent 9c70052 commit 71aaf99
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/wallet/integration/src/Test/Integration/Framework/TestData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ module Test.Integration.Framework.TestData
, errMsg403OutputTokenBundleSizeExceedsLimit
, errMsg403OutputTokenQuantityExceedsLimit
, errMsg403KeyAlreadyPresent
, errMsg403NoSuchCosigner
, errMsg403CreateIllegal
, errMsg400ScriptWrongCoeffcient
, errMsg400ScriptIllFormed
Expand Down Expand Up @@ -583,15 +582,6 @@ errMsg403KeyAlreadyPresent cred = mconcat
, "Please make sure to assign a different key to each cosigner."
]

errMsg403NoSuchCosigner :: Text -> Int -> String
errMsg403NoSuchCosigner cred cosigner = unwords
[ "It looks like you've tried to add a cosigner key to a"
, "shared wallet's"
, unpack cred
, "template for a non-existing cosigner index:"
, show cosigner
]

errMsg403CreateIllegal :: String
errMsg403CreateIllegal = mconcat
[ "It looks like you've tried to create a shared wallet with a template "
Expand Down

0 comments on commit 71aaf99

Please sign in to comment.