fix paypro broadcast. add merchant info
This commit is contained in:
parent
33dd93ad6a
commit
3a0a1a2f23
10 changed files with 155 additions and 90 deletions
|
|
@ -256,8 +256,8 @@ Insight.prototype.broadcast = function(rawtx, cb) {
|
|||
this.requestPost('/api/tx/send', {
|
||||
rawtx: rawtx
|
||||
}, function(err, res, body) {
|
||||
if (err || res.statusCode != 200) cb(err || body);
|
||||
cb(null, body ? body.txid : null);
|
||||
if (err || res.statusCode != 200) return cb(err || body);
|
||||
return cb(null, body ? body.txid : null);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue