mirror of https://github.com/BTCPrivate/copay.git
Remove update function
This commit is contained in:
parent
7d8d89ab38
commit
ccabcc3740
|
@ -65,7 +65,6 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
message: 'There was an error sending the Transaction'
|
||||
};
|
||||
$scope.loading = false;
|
||||
$scope.update();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -203,7 +203,6 @@ describe("Unit: Controllers", function() {
|
|||
scope.wallet.totalCopayers = scope.wallet.requiredCopayers = 1;
|
||||
var spy = sinon.spy(scope.wallet, 'createTx');
|
||||
var spy2 = sinon.spy(scope.wallet, 'sendTx');
|
||||
scope.update = function() {};
|
||||
|
||||
scope.submitForm(sendForm);
|
||||
sinon.assert.callCount(spy, 1);
|
||||
|
|
Loading…
Reference in New Issue