Remove update function
This commit is contained in:
parent
7d8d89ab38
commit
ccabcc3740
2 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue