Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit bd08902

Browse files
committed
Sec to MS
1 parent 5322aaa commit bd08902

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

src/NeoStatsPlugin/Extensions/NeoExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static void Update(this TransactionStat stat, Transaction[] transactions)
9898
public static void UpdateBlockInfo(this BlockStat block, Block currentBlock, BlockStat previousBlock)
9999
{
100100
bool firstTime = block.Size == 0;
101-
var time = unixEpoch.AddSeconds(currentBlock.Timestamp);
101+
var time = unixEpoch.AddMilliseconds(currentBlock.Timestamp);
102102

103103
if (!firstTime)
104104
{
Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.28803.202
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeoStatsPlugin", "NeoStatsPlugin.csproj", "{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}"
7-
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeoStats", "..\NeoStats\NeoStats.csproj", "{FD39AF12-FBA7-4391-A039-61B99FF42A59}"
9-
EndProject
10-
Global
11-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12-
Debug|Any CPU = Debug|Any CPU
13-
Release|Any CPU = Release|Any CPU
14-
EndGlobalSection
15-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16-
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17-
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
18-
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
19-
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Release|Any CPU.Build.0 = Release|Any CPU
20-
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21-
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Debug|Any CPU.Build.0 = Debug|Any CPU
22-
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Release|Any CPU.ActiveCfg = Release|Any CPU
23-
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Release|Any CPU.Build.0 = Release|Any CPU
24-
EndGlobalSection
25-
GlobalSection(SolutionProperties) = preSolution
26-
HideSolutionNode = FALSE
27-
EndGlobalSection
28-
GlobalSection(ExtensibilityGlobals) = postSolution
29-
SolutionGuid = {801DAA46-07A6-4487-8869-1B8F947BF165}
30-
EndGlobalSection
31-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.28803.202
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeoStatsPlugin", "NeoStatsPlugin.csproj", "{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeoStats", "..\NeoStats\NeoStats.csproj", "{FD39AF12-FBA7-4391-A039-61B99FF42A59}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{6ED9F3D5-A2C3-45B0-9F73-065DCB8574A2}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{FD39AF12-FBA7-4391-A039-61B99FF42A59}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {801DAA46-07A6-4487-8869-1B8F947BF165}
30+
EndGlobalSection
31+
EndGlobal

0 commit comments

Comments
 (0)