remove redundant check

This commit is contained in:
Ivan Socolsky 2015-02-11 11:27:52 -03:00
parent 53d74b3f6e
commit 469d7dfebe
8 changed files with 11 additions and 2 deletions

3
cli.js Normal file
View File

@ -0,0 +1,3 @@
var _ = require('lodash');
var request = require('request');
var program = require('commander');

BIN
db/copay.db/000013.ldb Normal file

Binary file not shown.

1
db/copay.db/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000021

0
db/copay.db/LOCK Normal file
View File

3
db/copay.db/LOG Normal file
View File

@ -0,0 +1,3 @@
2015/02/09-15:18:43.041206 106a0a000 Recovering log #20
2015/02/09-15:18:43.042521 106a0a000 Delete type=0 #20
2015/02/09-15:18:43.042604 106a0a000 Delete type=3 #19

3
db/copay.db/LOG.old Normal file
View File

@ -0,0 +1,3 @@
2015/02/09-15:18:03.323403 103704000 Recovering log #18
2015/02/09-15:18:03.324683 103704000 Delete type=0 #18
2015/02/09-15:18:03.324769 103704000 Delete type=3 #17

BIN
db/copay.db/MANIFEST-000021 Normal file

Binary file not shown.

View File

@ -548,7 +548,6 @@ CopayServer.prototype.signTx = function(opts, cb) {
id: opts.txProposalId
}, function(err, txp) {
if (err) return cb(err);
if (!txp) return cb(new ClientError('Transaction proposal not found'));
var action = _.find(txp.actions, {
copayerId: self.copayerId
@ -602,7 +601,7 @@ CopayServer.prototype.rejectTx = function(opts, cb) {
id: opts.txProposalId
}, function(err, txp) {
if (err) return cb(err);
if (!txp) return cb(new ClientError('Transaction proposal not found'));
var action = _.find(txp.actions, {
copayerId: self.copayerId
});