Zilliqa / zq2

Zilliqa 2.0 code base
Apache License 2.0
9 stars 0 forks source link

Implement `getTotalStake()` #1745

Closed DrZoltanFazekas closed 1 week ago

DrZoltanFazekas commented 1 week ago

Before the recent changes to the Deposit contract there was a public variable totalStake that was moved inside the Committee struct and is not accessible anymore. A getter function shall be implemented again and return the totalStake of the current committee().