input-output-hk / cardano-wallet-legacy

Official Wallet Backend & API for Cardano-SL
https://input-output-hk.github.io/cardano-wallet/
MIT License
21 stars 12 forks source link

Map Kernel import address errors to API errors #327

Closed KtorZ closed 5 years ago

KtorZ commented 5 years ago

#258

Overview

Comments

 $ curl -vkX POST "https://localhost:8090/api/v1/wallets/123/addresses" \
    --cert state-integration/tls/edge/client.pem   \
    -H "Content-Type: application/json" \ 
    -d '[]'

< HTTP/1.1 404 Reference to an unexisting wallet was given.

{"status":"error","diagnostic":{},"message":"WalletNotFound"}
piotr-iohk commented 5 years ago

@KtorZ, this one needs to be ported to cardano-sl, no?