Commit 71b807cb authored by Joshua Gutow's avatar Joshua Gutow

op-challenger: Add ContractIndex & ParentContractIndex to Claim

parent 907d542e
...@@ -32,6 +32,10 @@ type ClaimData struct { ...@@ -32,6 +32,10 @@ type ClaimData struct {
type Claim struct { type Claim struct {
ClaimData ClaimData
Parent ClaimData Parent ClaimData
// Location of the claim & it's parent inside the contract. Does not exist
// for claims that have not made it to the contract.
ContractIndex int
ParentContractIndex int
} }
// IsRoot returns true if this claim is the root claim. // IsRoot returns true if this claim is the root claim.
......
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