Skip to content

Commit

Permalink
🔥 staking: remove redundant field
Browse files Browse the repository at this point in the history
  • Loading branch information
itofarina committed Sep 18, 2024
1 parent 788058a commit bd3ba6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ type RewardAmountNotified @entity {

type StakingSharedFee @entity {
id: ID!
reward: Bytes!
amount: BigInt!
lastUpdate: Int!
}
1 change: 0 additions & 1 deletion src/StakedEXA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ function loadStakingSharedFee(reward: Bytes): StakingSharedFee {
if (sharedFee) return sharedFee;

sharedFee = new StakingSharedFee(id);
sharedFee.reward = reward;
sharedFee.amount = BigInt.zero();
return sharedFee;
}
Expand Down

0 comments on commit bd3ba6a

Please sign in to comment.