Open lpoli opened 2 years ago
@cnlangzi Can you please check if this is issue that needs to be resolved?
@lpoli We had a lot of discussion about it. I would suggest to leave it first. Because it is used by too much code. it is great if you have enough time to improve and test them
https://github.com/0chain/gosdk/blame/staging/zcncore/transaction.go#L796 https://github.com/0chain/gosdk/blame/staging/zcncore/transaction.go#L516 https://github.com/0chain/gosdk/blame/staging/zcncore/transaction.go#L680
Above overwriting seems erroneous.
numSharders
argument is passed but it is overwritten in suspicious manner.