From 361e269b69b39079ff2bc3a7983da5ee52da658b Mon Sep 17 00:00:00 2001 From: Dylan Moreland <79415431+elffjs@users.noreply.github.com> Date: Sun, 25 Dec 2022 10:20:50 -0500 Subject: [PATCH] Blacklist some addresses to be changed (#26) --- internal/services/transfer.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/services/transfer.go b/internal/services/transfer.go index 02f2052d..827adcb8 100644 --- a/internal/services/transfer.go +++ b/internal/services/transfer.go @@ -90,6 +90,9 @@ func (c *Client) transfer(ctx context.Context, week int) error { models.RewardWhere.Tokens.GT(types.NewNullDecimal(decimal.New(0, 0))), models.RewardWhere.IssuanceWeekID.EQ(week), models.RewardWhere.TransferMetaTransactionRequestID.IsNull(), + models.RewardWhere.UserEthereumAddress.NEQ(null.StringFrom("0x481e8DB1dd18fd02caA8A83Ef7A73cF207b83930")), + models.RewardWhere.UserEthereumAddress.NEQ(null.StringFrom("0x3596Da3ab608d4fD63F4Bc9F4631A6838d435474")), + models.RewardWhere.UserEthereumAddress.NEQ(null.StringFrom("0x21762721Fe155F29D2EdbBB2a88688a032c41c58")), qm.Limit(batchSize), ).All(ctx, c.db().Reader) if err != nil {