@@ -52,7 +52,7 @@ public void TestGetMillisecondsPerBlock()
52
52
[ TestMethod ]
53
53
public void HardForkTestBAndNotA ( )
54
54
{
55
- string json = CreateHKSettings ( "\" HF_Basilisk\" : 4120000" ) ;
55
+ string json = CreateHFSettings ( "\" HF_Basilisk\" : 4120000" ) ;
56
56
57
57
var file = Path . GetTempFileName ( ) ;
58
58
File . WriteAllText ( file , json ) ;
@@ -74,7 +74,7 @@ public void HardForkTestBAndNotA()
74
74
[ TestMethod ]
75
75
public void HardForkTestAAndNotB ( )
76
76
{
77
- string json = CreateHKSettings ( "\" HF_Aspidochelone\" : 0" ) ;
77
+ string json = CreateHFSettings ( "\" HF_Aspidochelone\" : 0" ) ;
78
78
79
79
var file = Path . GetTempFileName ( ) ;
80
80
File . WriteAllText ( file , json ) ;
@@ -96,7 +96,7 @@ public void HardForkTestAAndNotB()
96
96
[ TestMethod ]
97
97
public void HardForkTestNone ( )
98
98
{
99
- string json = CreateHKSettings ( "" ) ;
99
+ string json = CreateHFSettings ( "" ) ;
100
100
101
101
var file = Path . GetTempFileName ( ) ;
102
102
File . WriteAllText ( file , json ) ;
@@ -117,14 +117,14 @@ public void HardForkTestNone()
117
117
[ TestMethod ]
118
118
public void HardForkTestAMoreThanB ( )
119
119
{
120
- string json = CreateHKSettings ( "\" HF_Aspidochelone\" : 4120001, \" HF_Basilisk\" : 4120000" ) ;
120
+ string json = CreateHFSettings ( "\" HF_Aspidochelone\" : 4120001, \" HF_Basilisk\" : 4120000" ) ;
121
121
var file = Path . GetTempFileName ( ) ;
122
122
File . WriteAllText ( file , json ) ;
123
123
Assert . ThrowsException < ArgumentException > ( ( ) => ProtocolSettings . Load ( file , false ) ) ;
124
124
File . Delete ( file ) ;
125
125
}
126
126
127
- internal static string CreateHKSettings ( string hf )
127
+ internal static string CreateHFSettings ( string hf )
128
128
{
129
129
return @"
130
130
{
0 commit comments