rm feeLevel

This commit is contained in:
Ivan Socolsky 2016-03-04 11:07:17 -03:00
parent 682bf7fdd2
commit f878594d40
3 changed files with 0 additions and 5 deletions

View File

@ -46,7 +46,6 @@ TxProposal.create = function(opts) {
x.actions = [];
x.fee = null;
x.feePerKb = opts.feePerKb;
x.feeLevel = opts.feeLevel;
x.excludeUnconfirmedUtxos = opts.excludeUnconfirmedUtxos;
x.addressType = opts.addressType || (x.walletN > 1 ? Constants.SCRIPT_TYPES.P2SH : Constants.SCRIPT_TYPES.P2PKH);
@ -96,7 +95,6 @@ TxProposal.fromObj = function(obj) {
x.outputOrder = obj.outputOrder;
x.fee = obj.fee;
x.feePerKb = obj.feePerKb;
x.feeLevel = obj.feeLevel;
x.excludeUnconfirmedUtxos = obj.excludeUnconfirmedUtxos;
x.addressType = obj.addressType;
x.customData = obj.customData;

View File

@ -1543,7 +1543,6 @@ WalletService.prototype.createTxLegacy = function(opts, cb) {
* @param {string} opts.message - A message to attach to this transaction.
* @param {Array} opts.inputs - Optional. Inputs for this TX
* @param {string} opts.feePerKb - The fee per kB to use for this TX.
* @param {string} opts.feeLevel - Optional. Specify the fee level used to compute feePerKb for this txp.
* @param {string} opts.payProUrl - Optional. Paypro URL for peers to verify TX
* @param {string} opts.excludeUnconfirmedUtxos[=false] - Optional. Do not use UTXOs of unconfirmed transactions as inputs
* @param {string} opts.validateOutputs[=true] - Optional. Perform validation on outputs.
@ -1582,7 +1581,6 @@ WalletService.prototype.createTx = function(opts, cb) {
message: opts.message,
changeAddress: wallet.createAddress(true),
feePerKb: opts.feePerKb,
feeLevel: opts.feeLevel,
payProUrl: opts.payProUrl,
walletM: wallet.m,
walletN: wallet.n,

View File

@ -2742,7 +2742,6 @@ describe('Wallet service', function() {
message: 'some message',
customData: 'some custom data',
feePerKb: 123e2,
feeLevel: 'priority',
};
server.createTx(txOpts, function(err, tx) {
should.not.exist(err);