Skip to content

Commit 7c54cfd

Browse files
committed
use remaining percentage
1 parent 8f68e87 commit 7c54cfd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

contracts/FlowIDTableStaking.cdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ access(all) contract FlowIDTableStaking {
3838
/// Epoch
3939
access(all) event NewEpoch(totalStaked: UFix64, totalRewardPayout: UFix64, newEpochCounter: UInt64)
4040
access(all) event EpochTotalRewardsPaid(total: UFix64, fromFees: UFix64, minted: UFix64, feesBurned: UFix64, epochCounterForRewards: UInt64)
41-
access(all) event NodeRewardsSetToSlash(nodeSlashPercentages: {String: UFix64})
41+
access(all) event NodeRewardsSetToSlash(nodeSlashPercentagesRemaining: {String: UFix64})
4242

4343
/// Node
4444
access(all) event NewNodeCreated(nodeID: String, role: UInt8, amountCommitted: UFix64)
@@ -948,7 +948,7 @@ access(all) contract FlowIDTableStaking {
948948
)
949949
}
950950

951-
emit NodeRewardsSetToSlash(nodeSlashPercentages: nodeIDs)
951+
emit NodeRewardsSetToSlash(nodeSlashPercentagesRemaining: nodeIDs)
952952
FlowIDTableStaking.account.storage.load<{String: UFix64}>(from: /storage/idTableNonOperationalNodesList)
953953
FlowIDTableStaking.account.storage.save<{String: UFix64}>(nodeIDs, to: /storage/idTableNonOperationalNodesList)
954954
}

lib/go/contracts/internal/assets/assets.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)