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 Jun 18, 2021
1 parent a6b9895 commit fb3abfc
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 @@ -3663,11 +3663,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 @@ -265,7 +265,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 fb3abfc

Please sign in to comment.