diff --git a/lib/core/src/Cardano/Wallet/Api/Server.hs b/lib/core/src/Cardano/Wallet/Api/Server.hs index bc7e0cb0aba..f7361acf6e2 100644 --- a/lib/core/src/Cardano/Wallet/Api/Server.hs +++ b/lib/core/src/Cardano/Wallet/Api/Server.hs @@ -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" diff --git a/lib/shelley/src/Cardano/Wallet/Shelley/Api/Server.hs b/lib/shelley/src/Cardano/Wallet/Shelley/Api/Server.hs index e8a5d072359..17cd382902a 100644 --- a/lib/shelley/src/Cardano/Wallet/Shelley/Api/Server.hs +++ b/lib/shelley/src/Cardano/Wallet/Shelley/Api/Server.hs @@ -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