Skip to content

Commit

Permalink
Merge pull request #252 from Tobeyw/dev-mindy
Browse files Browse the repository at this point in the history
fix getfirstevent
  • Loading branch information
Tobeyw authored Jun 12, 2024
2 parents ef53296 + 369bd94 commit cecfb78
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ package watch
import (
"context"
"encoding/json"

"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"

log2 "neo3fura_http/lib/log"
)

Expand Down Expand Up @@ -59,7 +61,7 @@ func (me *T) GetFirstEventByTransactionHash() error {
log2.Fatalf("Query Execution error:%v", err)
}
if len(r1) > 0 && r1["vmstate"] != nil && r1["vmstate"] != "" {
r2["vmstate"] = r1["vmstate"].(string)
r2["vmstate"] = r1["vmstate"]
_, err = me.Client.SaveJob(struct {
Collection string
Data bson.M
Expand Down

0 comments on commit cecfb78

Please sign in to comment.