Skip to content

Commit 93fc2e7

Browse files
committed
Fix data folder on tests
1 parent 5012a0a commit 93fc2e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Tests/Blockcore.Features.ColdStaking.Tests/ColdStakingControllerTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ private void Initialize([System.Runtime.CompilerServices.CallerMemberName] strin
220220
var walletSettings = new WalletSettings(this.nodeSettings);
221221
this.loggerFactory = this.nodeSettings.LoggerFactory;
222222

223-
this.coldStakingManager = new ColdStakingManager(this.Network, new ChainIndexer(this.Network), walletSettings, this.nodeSettings.DataFolder,
223+
this.coldStakingManager = new ColdStakingManager(this.Network, new ChainIndexer(this.Network), walletSettings, dataFolder,
224224
new Mock<IWalletFeePolicy>().Object, new Mock<IAsyncProvider>().Object, new NodeLifetime(), new ScriptAddressReader(),
225225
this.loggerFactory, DateTimeProvider.Default);
226226

@@ -618,7 +618,7 @@ public void VerifyThatColdStakeTransactionCanBeFiltered()
618618
// But not if we use default or specify to only return normal accounts.
619619
Assert.Single(wallet1.GetAccounts().ToArray()); // Defaults to NormalAccounts
620620
Assert.Single(wallet1.GetAccounts(Wallet.Wallet.NormalAccounts).ToArray());
621-
621+
622622
// Verify that we actually have an cold staking activation UTXO in the wallet of 202 coins.
623623
// This should normally not be returned by the GetAllTransactions, and should never be included in balance calculations.
624624
Assert.True(accounts[0].ExternalAddresses.ToArray()[1].Transactions.ToArray()[0].IsColdCoinStake);

0 commit comments

Comments
 (0)