Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
VAIBHAVJINDAL3012 committed Oct 31, 2023
1 parent d910185 commit e4461b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func (c *ContractCaller) DecodeValidatorStakeUpdateEvent(contractAddress common.
)

for _, vLog := range receipt.Logs {
if uint64(vLog.Index) == logIndex && bytes.Equal(vLog.Address.Bytes(), contractAddress.Bytes()) {
if uint64(vLog.Index) == logIndex {
found = true

if err := UnpackLog(&c.StakingInfoABI, event, stakeUpdateEvent, vLog); err != nil {
Expand Down

0 comments on commit e4461b4

Please sign in to comment.