File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -852,8 +852,7 @@ func handleUsdcTip(request *createRequest) {
852
852
853
853
var signature string
854
854
var signatureTS string
855
- for i := 0 ; i < len (respData .Transactions .Edges [0 ].Node .Tags ); i ++ {
856
- tag := respData .Transactions .Edges [0 ].Node .Tags [i ]
855
+ for _ , tag := range respData .Transactions .Edges [0 ].Node .Tags {
857
856
switch tag .Name {
858
857
case "Action" :
859
858
if tag .Value != "Transfer" {
@@ -907,7 +906,7 @@ func handleUsdcTip(request *createRequest) {
907
906
}
908
907
909
908
if len (tagsLeftToCheck ) != 0 {
910
- logrus .Error (fmt .Sprintf ("Didn't found tags %v from the tx" , tagsLeftToCheck ))
909
+ logrus .Error (fmt .Sprintf ("Didn't found tags %v from the tx. %s " , tagsLeftToCheck , defaultErrorInfo ))
911
910
}
912
911
913
912
request .comment .Amount .SetValid (amount )
You can’t perform that action at this time.
0 commit comments