|
|
@ -24,6 +24,7 @@ TxProposal.create = function(opts) { |
|
|
|
x.toAddress = opts.toAddress; |
|
|
|
x.amount = opts.amount; |
|
|
|
x.message = opts.message; |
|
|
|
x.payProUrl = opts.payProUrl; |
|
|
|
x.proposalSignature = opts.proposalSignature; |
|
|
|
x.changeAddress = opts.changeAddress; |
|
|
|
x.inputs = []; |
|
|
@ -48,6 +49,7 @@ TxProposal.fromObj = function(obj) { |
|
|
|
x.toAddress = obj.toAddress; |
|
|
|
x.amount = obj.amount; |
|
|
|
x.message = obj.message; |
|
|
|
x.payProUrl = obj.payProUrl; |
|
|
|
x.proposalSignature = obj.proposalSignature; |
|
|
|
x.changeAddress = obj.changeAddress; |
|
|
|
x.inputs = obj.inputs; |
|
|
|