Remove wallet creation HTTP method
This functionality is now completely implemented at client-side (machine).
This commit is contained in:
parent
1cd06a024c
commit
9fa113dc01
1 changed files with 0 additions and 9 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue