+
* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created.
-
Delete Payment Proposal
diff --git a/src/js/controllers/walletHome.js b/src/js/controllers/walletHome.js
index 54cd7f6e0..987d7326f 100644
--- a/src/js/controllers/walletHome.js
+++ b/src/js/controllers/walletHome.js
@@ -187,7 +187,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
fc.getTx($scope.tx.id, function(err, tx) {
if (err) {
- if (err.code && err.code == 'BADREQUEST' &&
+ if (err.code && err.code == 'TX_NOT_FOUND' &&
(eventName == 'transactionProposalRemoved' || eventName == 'TxProposalRemoved')) {
$scope.tx.removed = true;
$scope.tx.canBeRemoved = false;