fix paypro broadcast. add merchant info
This commit is contained in:
parent
33dd93ad6a
commit
3a0a1a2f23
10 changed files with 155 additions and 90 deletions
|
|
@ -12,7 +12,7 @@ var buffertools = bitcore.buffertools;
|
|||
var preconditions = require('preconditions').instance();
|
||||
|
||||
var VERSION = 1;
|
||||
var CORE_FIELDS = ['builderObj', 'inputChainPaths', 'version', 'comment'];
|
||||
var CORE_FIELDS = ['builderObj', 'inputChainPaths', 'version', 'comment', 'paymentProtocolURL'];
|
||||
|
||||
|
||||
function TxProposal(opts) {
|
||||
|
|
@ -37,6 +37,7 @@ function TxProposal(opts) {
|
|||
this.comment = opts.comment || null;
|
||||
this.readonly = opts.readonly || null;
|
||||
this.merchant = opts.merchant || null;
|
||||
this.paymentProtocolURL = opts.paymentProtocolURL || null;
|
||||
this._sync();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue