Refactor BlocksSummariesRepository::$saveSummary

This commit is contained in:
nymkappa
2022-07-15 11:03:59 +02:00
parent 7a466a7be9
commit d68bc1f181
4 changed files with 15 additions and 14 deletions

View File

@@ -578,7 +578,7 @@ class Blocks {
// Index the response if needed
if (Common.blocksSummariesIndexingEnabled() === true) {
await BlocksSummariesRepository.$saveSummary(block.height, summary, null);
await BlocksSummariesRepository.$saveSummary({height: block.height, mined: summary});
}
return summary.transactions;