File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -908,7 +908,7 @@ func (bc *BlockChain) writeHeadBlock(block *types.Block) {
908908 headBlockGauge .Update (int64 (block .NumberU64 ()))
909909}
910910
911- // stop stops the blockchain service. If any imports are currently in progress
911+ // stopWithoutSaving stops the blockchain service. If any imports are currently in progress
912912// it will abort them using the procInterrupt. This method stops all running
913913// goroutines, but does not do all the post-stop work of persisting data.
914914// OBS! It is generally recommended to use the Stop method!
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ func TestDiskLayerExternalInvalidationFullFlatten(t *testing.T) {
118118 if err := snaps .Cap (common .HexToHash ("0x02" ), 0 ); err != nil {
119119 t .Fatalf ("failed to merge diff layer onto disk: %v" , err )
120120 }
121- // Since the base layer was modified, ensure that data retrieval on the external reference fail
121+ // Since the base layer was modified, ensure that data retrievals on the external reference fail
122122 if acc , err := ref .Account (common .HexToHash ("0x01" )); err != ErrSnapshotStale {
123123 t .Errorf ("stale reference returned account: %#x (err: %v)" , acc , err )
124124 }
You can’t perform that action at this time.
0 commit comments