Skip to content

Commit

Permalink
Fix rewind
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumagi committed Nov 29, 2022
1 parent 98a8807 commit 72267c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stratis.Bitcoin/Base/BaseFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public override async Task InitializeAsync()
// Ensure that we don't try to rewind further than the coin view is capable of doing.
var utxoSet = ((dynamic)this.consensusRules).UtxoSet;
var coinDatabase = ((dynamic)utxoSet).ICoindb;
((dynamic)coinDatabase).Initialize(initializedAt);
((dynamic)coinDatabase).Initialize(false);
int minRewindHeight = ((dynamic)coinDatabase).GetMinRewindHeight();
((dynamic)coinDatabase).Dispose();

Expand Down

0 comments on commit 72267c7

Please sign in to comment.