Skip to content

Commit

Permalink
fix comments on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Villaquiranm committed Oct 15, 2024
1 parent 472bf06 commit f4a2a1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions gno_github_agent/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GNO_MNEMONIC=source bonus chronic canvas draft south burst lottery vacant surface solve popular case indicate oppose farm nothing bullet exhibit title speed wink action roast
GNO_CHAIN_ID=test4
GNO_RPC_ADDR=https://rpc.test4.gno.land:443
GNO_REALM_PATH=gno.land/r/teritori/ghverify
GNO_TX_INDEXER=https://indexer.test4.gno.testnet.teritori.com
GNO_MNEMONIC=
GNO_CHAIN_ID=
GNO_RPC_ADDR=
GNO_REALM_PATH=
GNO_TX_INDEXER=
8 changes: 4 additions & 4 deletions gno_github_agent/clientql/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (client *IndexerQL) getLastTreatedBlock() (int, error) {
return 0, nil
}

return 0, nil
return 0, err
}
return verification.BlockHeight, err
}
Expand All @@ -81,10 +81,10 @@ func (client *IndexerQL) dealWithVerification(event *gnoindexerql.GetValidationR
var handle string
var callerAddress string
for _, attr := range event.Attrs {
if attr.Key == "handle" {
switch attr.Key {
case "handle":
handle = attr.Value
}
if attr.Key == "from" {
case "from":
callerAddress = attr.Value
}
}
Expand Down

0 comments on commit f4a2a1f

Please sign in to comment.