Skip to content

Commit

Permalink
change pointer proof
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Sep 20, 2023
1 parent 0a8e8d0 commit b774174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ func IsErrorInvalidProof(err error) bool {
}

// NewEthereumProof returns a new Proof containing an Ethereum proof
func NewEthereumProof(proof ethereum.Proof) *Proof {
func NewEthereumProof(proof *ethereum.Proof) *Proof {
return &Proof{
Proof: &Proof_EthereumProof{
EthereumProof: &proof,
EthereumProof: proof,
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (sm *SmokeTest) TestDepositEtherIntoZRC20() {
BlockHash: blockHash.Hex(),
TxIndex: int64(txIndex),
TxHash: txHash.Hex(),
Proof: common.NewEthereumProof(*txProof),
Proof: common.NewEthereumProof(txProof),
ChainId: 0,
})
if err != nil {
Expand Down

0 comments on commit b774174

Please sign in to comment.