cash-in working

This commit is contained in:
Josh Harvey 2016-04-07 13:25:34 +01:00
parent f357b6080e
commit e2d619c56d
3 changed files with 6 additions and 5 deletions

View file

@ -115,6 +115,7 @@ function trade (req, res) {
function send (req, res) {
var tx = req.body
tx.cryptoAtoms = new BigNumber(tx.cryptoAtoms)
tx.satoshis = tx.cryptoAtoms
plugins.sendCoins(session(req), tx, function (err, status) {
// TODO: use status.statusCode here after confirming machine compatibility