fix some wallet tests
This commit is contained in:
parent
24e5e28e15
commit
d838a29d02
3 changed files with 19 additions and 14 deletions
|
|
@ -329,12 +329,11 @@ Wallet.prototype._onTxProposal = function(senderId, data) {
|
|||
var keyMap = this._getKeyMap(m.txp);
|
||||
m.newCopayer = m.txp.setCopayers(senderId, keyMap);
|
||||
} catch (e) {
|
||||
log.error('Corrupt TX proposal received from:', senderId, e);
|
||||
return;
|
||||
log.error('Corrupt TX proposal received from:', senderId, e.toString());
|
||||
m=null;
|
||||
}
|
||||
|
||||
if (m) {
|
||||
|
||||
if (m.hasChanged) {
|
||||
m.txp.setSeen(this.getMyCopayerId());
|
||||
this.sendSeen(m.ntxid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue