File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010using Mx . NET . SDK . Core . Domain . SmartContracts ;
1111using static Mx . NET . SDK . Core . Domain . Constants . Constants ;
1212using Mx . NET . SDK . Provider . Dtos . API . Transactions ;
13+ using System . Globalization ;
1314
1415namespace Mx . NET . SDK . Domain
1516{
@@ -135,7 +136,7 @@ public ESDTAmount GetEstimatedFee()
135136
136137 var remainingGas = GasLimit . Value - dataGas ;
137138 var gasPriceModifier = networkConfig . GasPriceModifier ;
138- var modifiedGasPrice = gasPrice * double . Parse ( gasPriceModifier ) ;
139+ var modifiedGasPrice = gasPrice * double . Parse ( gasPriceModifier , CultureInfo . InvariantCulture ) ;
139140 var surplusFee = remainingGas * modifiedGasPrice ;
140141
141142 return ESDTAmount . From ( $ "{ transactionGas + surplusFee } ") ;
Original file line number Diff line number Diff line change 1111 <RepositoryUrl >https://github.com/RemarkableTools/Mx.NET.SDK</RepositoryUrl >
1212 <RepositoryType >GitHub</RepositoryType >
1313 <Company >Remarkable Tools</Company >
14- <Version >1.0.15 </Version >
14+ <Version >1.0.16 </Version >
1515 <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
1616 <Title >RemarkableTools.Mx</Title >
1717 <PackageReadmeFile >README.md</PackageReadmeFile >
You can’t perform that action at this time.
0 commit comments