Skip to content

Commit

Permalink
Merge pull request #2949 from 0chain/fix/max-fee
Browse files Browse the repository at this point in the history
Fix zcnsc max fee config update
  • Loading branch information
dabasov committed Nov 10, 2023
2 parents 4a904a1 + 8ee59f1 commit a5fc4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/smartcontract/zcnsc/nodes.go
Expand Up @@ -117,7 +117,7 @@ func (gn *GlobalNode) UpdateConfig(cfg *config.StringMap) (err error) {
if err != nil {
return fmt.Errorf("key %s, unable to convert %v to currency.Coin", key, value)
}
gn.MaxFee, err = currency.ParseZCN(amount)
gn.MaxFee = currency.Coin(amount)
if err != nil {
return err
}
Expand Down

0 comments on commit a5fc4d4

Please sign in to comment.