Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Sep 5, 2023
1 parent b9f9f68 commit aaad98c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions messages/teleporter/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"math/big"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/subnet-evm/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ava-labs/avalanchego/ids"
)

// TeleporterMessage contains the Teleporter message, including
Expand Down Expand Up @@ -38,8 +38,8 @@ type ReceiveCrossChainMessageInput struct {
// MessageReceivedInput is the input to the MessageReceived
// in the contract deployed on the receiving chain
type MessageReceivedInput struct {
OriginChainID ids.ID `json:"relayerRewardAddress"`
MessageID *big.Int `json:"messageID"`
OriginChainID ids.ID `json:"relayerRewardAddress"`
MessageID *big.Int `json:"messageID"`
}

// unpack Teleporter message bytes according to EVM ABI encoding rules
Expand Down Expand Up @@ -77,4 +77,4 @@ func unpackMessageReceivedResult(result []byte) (bool, error) {
var success bool
err := EVMTeleporterContractABI.UnpackIntoInterface(&success, "messageReceived", result)
return success, err
}
}

0 comments on commit aaad98c

Please sign in to comment.