paypro: expose serialized payment request data on tx proposal.

This commit is contained in:
Christopher Jeffrey 2014-08-05 10:11:59 -07:00 committed by Manuel Araoz
commit 4d2879c5b6

View file

@ -921,7 +921,10 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
untrusted: !ca
},
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) {