Skip to content

Commit

Permalink
update bridgeTx
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobeyw committed Jun 24, 2024
1 parent 809fb91 commit 44581f7
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 44581f7

Please sign in to comment.