Skip to content

Commit d91f644

Browse files
committed
chore: update fee
1 parent 0e479b6 commit d91f644

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/transactions/stake-create.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import ByteBuffer from 'bytebuffer';
22

33
import { Managers, Transactions, Utils } from '@arkecosystem/crypto';
44

5-
import { StakeTransactionGroup, StakeTransactionStaticFees, StakeTransactionType } from '../enums';
5+
import { StakeTransactionGroup, StakeTransactionType } from '../enums';
66
import { IStakeCreateAsset } from '../interfaces';
77

88
const { schemas } = Transactions;
@@ -27,6 +27,7 @@ export class StakeCreateTransaction extends Transactions.Transaction {
2727
type: { transactionType: StakeTransactionType.StakeCreate },
2828
typeGroup: { const: StakeTransactionGroup },
2929
amount: { bignumber: { minimum: 0, maximum: 0 } },
30+
fee: { bignumber: { minimum: 0, maximum: 0 } },
3031
asset: {
3132
type: "object",
3233
required: ["stakeCreate"],
@@ -56,7 +57,7 @@ export class StakeCreateTransaction extends Transactions.Transaction {
5657
});
5758
}
5859

59-
protected static defaultStaticFee: Utils.BigNumber = Utils.BigNumber.make(StakeTransactionStaticFees.StakeCreate);
60+
protected static defaultStaticFee: Utils.BigNumber = Utils.BigNumber.ZERO;
6061

6162
public serialize(): ByteBuffer {
6263
// @ts-ignore

0 commit comments

Comments
 (0)