Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Fixing codestyle issues (#253)
Browse files Browse the repository at this point in the history
* refactoring

* edits

* var for simple types

* private and readonly

* access modifiers

* access modifier
  • Loading branch information
noescape00 authored Dec 13, 2018
1 parent 6c779d9 commit 1698a54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MiningTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void PremineIsReceived()
CoreNode node = builder.CreatePoANode(network, network.FederationKeys[0]).WithWallet("pass", walletName).Start();
node.EnableFastMining();

IWalletManager walletManager = node.FullNode.NodeService<IWalletManager>();
var walletManager = node.FullNode.NodeService<IWalletManager>();
long balanceOnStart = walletManager.GetBalances(walletName, "account 0").Sum(x => x.AmountConfirmed);
Assert.Equal(0, balanceOnStart);

Expand Down
2 changes: 1 addition & 1 deletion Utils/SidechainNodeBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private SidechainNodeBuilder(string rootFolder) : base(rootFolder)
public static SidechainNodeBuilder CreateSidechainNodeBuilder(object caller, [CallerMemberName] string callingMethod = null)
{
string testFolderPath = Bitcoin.Tests.Common.TestBase.CreateTestDir(caller, callingMethod);
SidechainNodeBuilder builder = new SidechainNodeBuilder(testFolderPath);
var builder = new SidechainNodeBuilder(testFolderPath);
builder.WithLogsDisabled();

return builder;
Expand Down

0 comments on commit 1698a54

Please sign in to comment.