Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouop0 committed Jun 19, 2024
1 parent 769e8c5 commit 3f71354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handler/disputeGame.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func filterAddAndRemove(ctx *svc.ServiceContext, evt *schema.SyncEvent) error {
return fmt.Errorf("[FilterDisputeContractAndAdd] event data to DisputeGameResolved err: %s", err)
}
var game schema.DisputeGame
err = ctx.DB.Where(" game_address = ? ", evt.ContractAddress).First(&game).Error
err = ctx.DB.Where(" game_contract = ? ", evt.ContractAddress).First(&game).Error
if err != nil {
return fmt.Errorf("[FilterDisputeContractAndAdd] resolved event find game err: %s", err)
}
Expand Down

0 comments on commit 3f71354

Please sign in to comment.