Ivan Socolsky
9 years ago
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|