Ivan Socolsky
9 years ago
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with
6 additions and
0 deletions
-
lib/expressapp.js
|
@ -289,6 +289,12 @@ ExpressApp.prototype.start = function(opts, cb) { |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
router.post('/v1/txproposals/', function(req, res) { |
|
|
|
|
|
var Errors = require('./errors/errordefinitions'); |
|
|
|
|
|
var err = Errors.UPGRADE_NEEDED; |
|
|
|
|
|
return returnError(err, res, req); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
router.post('/v2/txproposals/', function(req, res) { |
|
|
router.post('/v2/txproposals/', function(req, res) { |
|
|
getServerWithAuth(req, res, function(server) { |
|
|
getServerWithAuth(req, res, function(server) { |
|
|
server.createTx(req.body, function(err, txp) { |
|
|
server.createTx(req.body, function(err, txp) { |
|
|