Use new Trader API to send bitcoins
This commit is contained in:
parent
1003629341
commit
36081c4109
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ var trade = function(req, res) {
|
|||
|
||||
var send = function(req, res) {
|
||||
var fingerprint = req.connection.getPeerCertificate().fingerprint;
|
||||
api.send.sendBitcoins(fingerprint, req.body, function(err, txHash) {
|
||||
_trader.sendBitcoins(fingerprint, req.body, function(err, txHash) {
|
||||
res.json({err: err, txHash: txHash});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue