fix typo:
This commit is contained in:
parent
a4cdfe89fd
commit
8594af970f
@ -131,7 +131,7 @@ func (ss *syscallShim) VerifyConsensusFault(a, b, extra []byte, epoch abi.ChainE
|
|||||||
return nil, xerrors.Errorf("cannot decode extra: %w", decodeErr)
|
return nil, xerrors.Errorf("cannot decode extra: %w", decodeErr)
|
||||||
}
|
}
|
||||||
|
|
||||||
if types.CidArrsEqual(blockA.Parents, blockC.Parents) && blockA.Height == blockB.Height &&
|
if types.CidArrsEqual(blockA.Parents, blockC.Parents) && blockA.Height == blockC.Height &&
|
||||||
types.CidArrsContains(blockB.Parents, blockC.Cid()) && !types.CidArrsContains(blockB.Parents, blockA.Cid()) {
|
types.CidArrsContains(blockB.Parents, blockC.Cid()) && !types.CidArrsContains(blockB.Parents, blockA.Cid()) {
|
||||||
consensusFault = &runtime.ConsensusFault{
|
consensusFault = &runtime.ConsensusFault{
|
||||||
Target: blockA.Miner,
|
Target: blockA.Miner,
|
||||||
|
Loading…
Reference in New Issue
Block a user