File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import ByteBuffer from 'bytebuffer';
22
33import { Managers , Transactions , Utils } from '@arkecosystem/crypto' ;
44
5- import { StakeTransactionGroup , StakeTransactionStaticFees , StakeTransactionType } from '../enums' ;
5+ import { StakeTransactionGroup , StakeTransactionType } from '../enums' ;
66import { IStakeCreateAsset } from '../interfaces' ;
77
88const { 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
You can’t perform that action at this time.
0 commit comments