diff --git a/js/controllers/send.js b/js/controllers/send.js index 4861c9058..26c50f6aa 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -65,7 +65,6 @@ angular.module('copayApp.controllers').controller('SendController', message: 'There was an error sending the Transaction' }; $scope.loading = false; - $scope.update(); }); } }); diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index eb52dec21..5c8dd6ed8 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -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);