Browse Source

accept id as arg for tx creation

activeAddress
Ivan Socolsky 9 years ago
parent
commit
49929942e7
No known key found for this signature in database GPG Key ID: FAECE6A05FAA4F56
  1. 2
      lib/model/txproposal.js

2
lib/model/txproposal.js

@ -27,7 +27,7 @@ TxProposal.create = function(opts) {
var now = Date.now();
x.createdOn = Math.floor(now / 1000);
x.id = _.padLeft(now, 14, '0') + Uuid.v4();
x.id = opts.id || Uuid.v4();
x.walletId = opts.walletId;
x.creatorId = opts.creatorId;
x.message = opts.message;

Loading…
Cancel
Save