Browse Source

update type

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
aeaa513510
  1. 2
      lib/errors/errordefinitions.js
  2. 2
      lib/server.js

2
lib/errors/errordefinitions.js

@ -18,7 +18,7 @@ var errors = {
KEY_IN_COPAYER: 'Key already registered',
LOCKED_FUNDS: 'Funds are locked by pending transaction proposals',
NOT_AUTHORIZED: 'Not authorized',
TO_MANY_KEYS: 'To many keys registered',
TOO_MANY_KEYS: 'To many keys registered',
TX_ALREADY_BROADCASTED: 'The transaction proposal is already broadcasted',
TX_CANNOT_CREATE: 'Cannot create TX proposal during backoff time',
TX_CANNOT_REMOVE: 'Cannot remove this tx proposal during locktime',

2
lib/server.js

@ -436,7 +436,7 @@ WalletService.prototype.addAccess = function(opts, cb) {
}
if (copayer.requestPubKeys.length > MAX_KEYS)
return cb(Errors.TO_MANY_KEYS);
return cb(Errors.TOO_MANY_KEYS);
self._addKeyToCopayer(wallet, copayer, opts, cb);
});

Loading…
Cancel
Save