Commit 50b9a88e authored by refcell.eth's avatar refcell.eth Committed by GitHub

Merge pull request #7693 from ethereum-optimism/refcell/cleaning

chore(op-challenger): Remove unused PreimageOracleData Methods
parents 1c88adfd 1f6ab698
......@@ -22,14 +22,9 @@ type PreimageOracleData struct {
OracleOffset uint32
}
// GetType returns the type for the preimage oracle data.
func (p *PreimageOracleData) GetType() *big.Int {
return big.NewInt(int64(p.OracleKey[0]))
}
// GetIdent returns the ident for the preimage oracle data.
func (p *PreimageOracleData) GetIdent() *big.Int {
return big.NewInt(0).SetBytes(p.OracleKey[1:])
return new(big.Int).SetBytes(p.OracleKey[1:])
}
// GetPreimageWithoutSize returns the preimage for the preimage oracle data.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment