Remove wallet creation HTTP method

This functionality is now completely implemented at client-side (machine).
This commit is contained in:
littlenaut 2019-03-08 20:29:23 +00:00 committed by Josh Harvey
parent 1cd06a024c
commit 9fa113dc01

View file

@ -155,15 +155,6 @@ function postTx (req, res, next) {
.catch(next) .catch(next)
} }
function createWallet (req, res, next) {
const pi = plugins(req.settings, req.deviceId)
pi.newAddress(req.tx)
.then(addr => {
respond(req, res, addr)
})
.catch(next)
}
function stateChange (req, res, next) { function stateChange (req, res, next) {
helpers.stateChange(req.deviceId, req.deviceTime, req.body) helpers.stateChange(req.deviceId, req.deviceTime, req.body)
.then(() => respond(req, res)) .then(() => respond(req, res))