Skip to content

Commit

Permalink
ok check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Mar 5, 2024
1 parent 95e5821 commit b988c82
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions service/popm/popm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,12 +584,13 @@ func TestProcessReceivedOnlyOnceWithError(t *testing.T) {
processedKeystonesFirstTime := 0
for _, c := range miner.l2KeystonesForProcessing() {
processedKeystonesFirstTime++
miner.mtx.Lock()
serialized := hemi.L2KeystoneAbbreviate(c).Serialize()
key := hex.EncodeToString(serialized[:])
v := miner.l2Keystones[key]
v.requiresProcessing = true
miner.l2Keystones[key] = v
miner.mtx.Lock()
if v, ok := miner.l2Keystones[key]; ok {
v.requiresProcessing = true
miner.l2Keystones[key] = v
}
miner.mtx.Unlock()
}
if processedKeystonesFirstTime != 3 {
Expand Down

0 comments on commit b988c82

Please sign in to comment.