Can't create a wallet using wallet-server
ak3n opened this issue · comments
ak3n commented
Summary
The wallet-server /create
endpoint doesn't work. There is no funds to distribute.
Steps to reproduce the behavior
- Start the wallet-server
curl -v -s -d '' http://localhost:9081/create
Actual Result
ServerError {errHTTPCode = 401, errReasonPhrase = "Unauthorized", errBody = "Total: Value (Map []) expected: Value (Map [(,Map [(\"\",10000000000)])])", errHeaders = []}
Expected Result
Should return
-- | Information about an emulated wallet.
data WalletInfo =
WalletInfo
{ wiWallet :: Wallet
, wiPaymentPubKeyHash :: PaymentPubKeyHash -- ^ Hash of the wallet's public key, serving as wallet ID
}
Describe the approach you would take to fix this
No response
System info
Plutus: 779a81d
ak3n commented
Turned out it works but with a running node
together only. So it's better to run all servers at once with cabal exec pab all-servers
.