Skip to content
Snippets Groups Projects
Commit 518c667e authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] #875 Unnecessary extra trimming of s_index

parent ea397151
No related branches found
No related tags found
No related merge requests found
...@@ -308,9 +308,6 @@ function BlockchainContext(BlockchainService) { ...@@ -308,9 +308,6 @@ function BlockchainContext(BlockchainService) {
// Revert the balances variations for this block // Revert the balances variations for this block
yield that.updateWallets(sindexOfBlock, dal, REVERSE_BALANCE) yield that.updateWallets(sindexOfBlock, dal, REVERSE_BALANCE)
// Remove any source created for this block (both Dividend and Transaction).
yield dal.removeAllSourcesOfBlock(blockstamp);
// Restore block's transaction as incoming transactions // Restore block's transaction as incoming transactions
yield undoDeleteTransactions(block) yield undoDeleteTransactions(block)
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment