paypro: begin adding code for payment protocol.
This commit is contained in:
parent
ef2035d70a
commit
f49177f0b7
3 changed files with 275 additions and 2 deletions
|
|
@ -68,9 +68,10 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
notification.success('Success!', message);
|
||||
$scope.loadTxs();
|
||||
} else {
|
||||
w.sendTx(ntxid, function(txid) {
|
||||
w.sendTx(ntxid, function(txid, ca) {
|
||||
if (txid) {
|
||||
notification.success('Transaction broadcast', 'Transaction id: ' + txid);
|
||||
if (ca) notification.success('Root Certificate', ca);
|
||||
} else {
|
||||
notification.error('Error', 'There was an error sending the transaction.');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue