Updates bitcore-wallet-client and fix functions

This commit is contained in:
Gustavo Maximiliano Cortez 2016-01-29 16:39:32 -03:00
commit 5dec3249d1
3 changed files with 45 additions and 47 deletions

View file

@ -120,9 +120,9 @@ angular.module('copayApp.services').factory('txSignService', function($rootScope
root.publishTx = function(txp, cb) {
var fc = profileService.focusedClient;
fc.publishTxProposal({txp: txp}, function(err) {
fc.publishTxProposal({txp: txp}, function(err, txp) {
if (err) return cb(err);
else return cb();
else return cb(null, txp);
});
};