Updates bitcore-wallet-client and fix functions
This commit is contained in:
parent
473142b850
commit
5dec3249d1
3 changed files with 45 additions and 47 deletions
|
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue