Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Oct 3, 2023
1 parent c0e249a commit cc49e37
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions consensus/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,8 @@ func TestApplyBlock(t *testing.T) {
prev := cs
cs, au = consensus.ApplyBlock(prev, b, bs, ancestorTimestamp(dbStore, b.ParentID, cs.AncestorDepth()))
dbStore.ApplyBlock(prev, au, true)
dbStore.AddCheckpoint(chain.Checkpoint{
Block: b,
State: cs,
Supplement: &bs,
})
dbStore.AddBlock(b, &bs)
dbStore.AddState(cs)
return
}
checkUpdateElements := func(au consensus.ApplyUpdate, addedSCEs, spentSCEs []types.SiacoinElement, addedSFEs, spentSFEs []types.SiafundElement) {
Expand Down Expand Up @@ -326,5 +323,4 @@ func TestApplyV2Block(t *testing.T) {
t.Error("missing siacoin element", 1)
}
}
*/

0 comments on commit cc49e37

Please sign in to comment.