|
|
@ -13,6 +13,7 @@ Address.create = function(opts) { |
|
|
|
|
|
|
|
x.createdOn = Math.floor(Date.now() / 1000); |
|
|
|
x.address = opts.address; |
|
|
|
x.walletId = opts.walletId; |
|
|
|
x.isChange = opts.isChange; |
|
|
|
x.path = opts.path; |
|
|
|
x.publicKeys = opts.publicKeys; |
|
|
@ -24,6 +25,7 @@ Address.fromObj = function(obj) { |
|
|
|
|
|
|
|
x.createdOn = obj.createdOn; |
|
|
|
x.address = obj.address; |
|
|
|
x.walletId = obj.walletId; |
|
|
|
x.isChange = obj.isChange; |
|
|
|
x.path = obj.path; |
|
|
|
x.publicKeys = obj.publicKeys; |
|
|
|