paypro: expose serialized payment request data on tx proposal.
This commit is contained in:
parent
31719e62dd
commit
4d2879c5b6
1 changed files with 4 additions and 1 deletions
|
|
@ -921,7 +921,10 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
|
||||||
untrusted: !ca
|
untrusted: !ca
|
||||||
},
|
},
|
||||||
request_url: options.uri,
|
request_url: options.uri,
|
||||||
total: bignum('0', 10).toString(10)
|
total: bignum('0', 10).toString(10),
|
||||||
|
// Expose so other copayers can verify signature
|
||||||
|
// and identity, not to mention data.
|
||||||
|
raw: pr.serialize().toString('hex')
|
||||||
};
|
};
|
||||||
|
|
||||||
return this.getUnspent(function(err, unspent) {
|
return this.getUnspent(function(err, unspent) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue