Skip to content

Commit

Permalink
Merge pull request #257 from Tobeyw/dev-mindy
Browse files Browse the repository at this point in the history
update bridgeTx
  • Loading branch information
Tobeyw authored Jun 24, 2024
2 parents 3da02b0 + 44581f7 commit 6dcaa6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions neo3fura_http/biz/api/bridge.GetBridgeTxByNonce.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ package api

import (
"encoding/json"
"strconv"

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

"neo3fura_http/lib/type/h160"
"neo3fura_http/var/stderr"
"strconv"
)

func (me *T) GetBridgeTxByNonce(args struct {
Expand All @@ -32,7 +34,7 @@ func (me *T) GetBridgeTxByNonce(args struct {
Index: "GetBridgeTxByNonce",
Sort: bson.M{"_id": -1},
Filter: bson.M{"contract": args.ContractHash.Val(),
"$or": []interface{}{bson.M{"eventname": "Withdrawal"}, bson.M{"eventname": "Claimable"}},
"$or": []interface{}{bson.M{"eventname": "GasWithdrawal"}, bson.M{"eventname": "Claimable"}},
"state.value.0.value": nonceStr,
},
Query: []string{},
Expand Down

0 comments on commit 6dcaa6c

Please sign in to comment.