Skip to content

Commit

Permalink
add new fiedl
Browse files Browse the repository at this point in the history
  • Loading branch information
golangisfun123 committed Oct 21, 2024
1 parent 6c7c8f2 commit 56bcab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/opbot/botmd/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (b *Bot) rfqRefund() *slacker.CommandDefinition {
ctx.Context(),
big.NewInt(int64(rawRequest.Bridge.OriginChainID)),
func(transactor *bind.TransactOpts) (tx *types.Transaction, err error) {
tx, err = fastBridgeContract.Refund(transactor, common.Hex2Bytes(rawRequest.BridgeRequest.Request))
tx, err = fastBridgeContract.Refund(transactor, common.Hex2Bytes(rawRequest.Bridge.Request))
if err != nil {
return nil, fmt.Errorf("error submitting refund: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion contrib/opbot/internal/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ type Bridge struct {
DestAmountFormatted string `json:"destAmountFormatted"`
Sender string `json:"sender"`
SendChainGas int `json:"sendChainGas"`
Request string `json:"request"`
}

// BridgeRequest contains the bridge request information.
type BridgeRequest struct {
BlockNumber string `json:"blockNumber"`
BlockTimestamp int64 `json:"blockTimestamp"`
TransactionHash string `json:"transactionHash"`
Request string `json:"request"`
}

// BridgeRelay contains the bridge relay information.
Expand Down

0 comments on commit 56bcab9

Please sign in to comment.