File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/chain Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,6 @@ private void chainPrunerAction(final BlockAddedEvent event) {
113
113
}
114
114
115
115
private void preMergePruningAction () {
116
- StringBuilder sb = new StringBuilder ();
117
- for (StackTraceElement element : Thread .currentThread ().getStackTrace ()) {
118
- sb .append (element .toString ());
119
- sb .append ("\n " );
120
- }
121
- final String originatingStackTrace = sb .toString ();
122
116
pruningExecutor .submit (
123
117
() -> {
124
118
try {
@@ -127,10 +121,7 @@ private void preMergePruningAction() {
127
121
final long expectedNewPruningMark =
128
122
Math .min (storedPruningMark + pruningQuantity , mergeBlock );
129
123
LOG .debug (
130
- "Attempting to prune blocks {} to {}. Started from \n {}" ,
131
- storedPruningMark ,
132
- expectedNewPruningMark ,
133
- originatingStackTrace );
124
+ "Attempting to prune blocks {} to {}" , storedPruningMark , expectedNewPruningMark );
134
125
final KeyValueStorageTransaction pruningTransaction = prunerStorage .startTransaction ();
135
126
final BlockchainStorage .Updater updater = blockchainStorage .updater ();
136
127
for (long blockNumber = storedPruningMark ;
You can’t perform that action at this time.
0 commit comments