Skip to content

Commit

Permalink
chore: add zero fee to stake-redeem
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpress committed Dec 4, 2019
1 parent d91f644 commit 5a2be70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/transactions/stake-redeem.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import ByteBuffer from 'bytebuffer';

import { Transactions, Utils } from '@arkecosystem/crypto';
import ByteBuffer from 'bytebuffer';

import { StakeTransactionGroup, StakeTransactionStaticFees, StakeTransactionType } from '../enums';
import { StakeTransactionGroup, StakeTransactionType } from '../enums';
import { IStakeRedeemAsset } from '../interfaces';

const { schemas } = Transactions;
Expand Down Expand Up @@ -42,7 +41,7 @@ export class StakeRedeemTransaction extends Transactions.Transaction {
});
}

protected static defaultStaticFee: Utils.BigNumber = Utils.BigNumber.make(StakeTransactionStaticFees.StakeRedeem);
protected static defaultStaticFee: Utils.BigNumber = Utils.BigNumber.ZERO;

public serialize(): ByteBuffer {
const { data } = this;
Expand Down

0 comments on commit 5a2be70

Please sign in to comment.