File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/modules/dashboard/components
ActionsPage/StakingWidget
Dialogs/RaiseObjectionDialog Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ const StakingWidget = ({
151151 } else if ( amount === 0 || new Decimal ( minUserStake ) . gte ( stake ) ) {
152152 finalStake = minUserStake ;
153153 } else {
154- finalStake = stake . toString ( ) ;
154+ finalStake = stake . round ( ) . toString ( ) ;
155155 }
156156
157157 log . verbose ( 'Staking values: ' , {
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const RaiseObjectionDialog = ({
6363 } else if ( amount === 0 || new Decimal ( minUserStake ) . gte ( stake ) ) {
6464 finalStake = minUserStake ;
6565 } else {
66- finalStake = stake . toString ( ) ;
66+ finalStake = stake . round ( ) . toString ( ) ;
6767 }
6868
6969 log . verbose ( 'Objection staking values: ' , {
You can’t perform that action at this time.
0 commit comments