Skip to content

Commit

Permalink
Fix malformed stub definition
Browse files Browse the repository at this point in the history
  • Loading branch information
sevanspowell committed Jul 12, 2021
1 parent 66d61ba commit e566cd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/core/src/Cardano/Wallet/Api/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3805,11 +3805,10 @@ instance HasSeverityAnnotation WalletEngineLog where
MsgSubmitSealedTx msg -> getSeverityAnnotation msg

mintToken
:: forall ctx s n
:: forall ctx n
. ctx
-> ArgGenChange s
-> ApiT WalletId
-> Api.PostMintBurnAssetData n
-> Handler (ApiMintBurnTransaction n)
mintToken _ctx _genChange (ApiT _wid) _body =
mintToken _ctx (ApiT _wid) _body =
error "Minting is not supported - this is just a stub"
2 changes: 1 addition & 1 deletion lib/shelley/src/Cardano/Wallet/Shelley/Api/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ server byron icarus shelley multisig spl ntp =

assets :: Server (Assets n)
assets =
mintToken shelley undefined
mintToken shelley
:<|> listAssets shelley
:<|> getAsset shelley
:<|> getAssetDefault shelley
Expand Down

0 comments on commit e566cd7

Please sign in to comment.