diff --git a/lib/expressapp.js b/lib/expressapp.js index c7336ff..d955af4 100644 --- a/lib/expressapp.js +++ b/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) { getServerWithAuth(req, res, function(server) { server.createTx(req.body, function(err, txp) {