Skip to content

Commit

Permalink
Merge pull request #250 from Tobeyw/dev-mindy
Browse files Browse the repository at this point in the history
 fix GetFirstEventByTransactionHash
  • Loading branch information
Tobeyw committed May 10, 2024
2 parents 81db971 + 8a73382 commit 96e57bf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ func (me *T) GetFirstEventByTransactionHash() error {
if err != nil {
log2.Fatalf("Query Execution error:%v", err)
}

if r1["vmstate"] != nil && r1["vmstate"] != "" {
if len(r1) > 0 && r1["vmstate"] != nil && r1["vmstate"] != "" {
r2["vmstate"] = r1["vmstate"].(string)
_, err = me.Client.SaveJob(struct {
Collection string
Expand Down

0 comments on commit 96e57bf

Please sign in to comment.