Refactored Wallet#createTx
This commit is contained in:
parent
5ac5aa3c69
commit
152ab7aa44
4 changed files with 29 additions and 44 deletions
|
|
@ -116,7 +116,7 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
|
||||
var w = $rootScope.wallet;
|
||||
|
||||
function done(ntxid, merchantData) {
|
||||
function done(err, ntxid, merchantData) {
|
||||
// If user is granted the privilege of choosing
|
||||
// their own amount, add it to the tx.
|
||||
if (merchantData && +merchantData.total === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue