File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require (
66 github.com/AdamSLevy/jsonrpc2/v13 v13.0.1
77 github.com/Factom-Asset-Tokens/factom v0.0.0-20191114224337-71de98ff5b3e
88 github.com/mattn/go-sqlite3 v1.11.0
9- github.com/pegnet/pegnet v0.5.1-0.20200826220145-532bd212e1b6
9+ github.com/pegnet/pegnet v0.5.1-0.20200827205036-100de49eec4c
1010 github.com/rs/cors v1.7.0
1111 github.com/sirupsen/logrus v1.4.2
1212 github.com/spf13/cobra v0.0.5
Original file line number Diff line number Diff line change @@ -268,6 +268,8 @@ github.com/pegnet/pegnet v0.5.1-0.20200821215317-2516c8c4196a h1:f+q9XPktXlURvO6
268268github.com/pegnet/pegnet v0.5.1-0.20200821215317-2516c8c4196a /go.mod h1:Fy8Qohe9zIuqO9Q/ZOLUNpP2kuiFqxjevzaS3IL62+E =
269269github.com/pegnet/pegnet v0.5.1-0.20200826220145-532bd212e1b6 h1:ucPKH3+vQ/2ktMd3v50331rk5ZLvJN1P5AiYfpk8aP4 =
270270github.com/pegnet/pegnet v0.5.1-0.20200826220145-532bd212e1b6 /go.mod h1:NxKKJ9wnx/EvzfHk0p6XPlQqXIJg0iA4po0vzsdNx0o =
271+ github.com/pegnet/pegnet v0.5.1-0.20200827205036-100de49eec4c h1:h23Cy3bYjLS6lIf309Z32OYkGnTzlzVi1PF2zatpOqQ =
272+ github.com/pegnet/pegnet v0.5.1-0.20200827205036-100de49eec4c /go.mod h1:NxKKJ9wnx/EvzfHk0p6XPlQqXIJg0iA4po0vzsdNx0o =
271273github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc =
272274github.com/pelletier/go-toml v1.2.0 /go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic =
273275github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 /go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0 =
Original file line number Diff line number Diff line change 44 "context"
55 "fmt"
66 "github.com/Factom-Asset-Tokens/factom"
7- "github.com/pegnet/pegnet/common"
87 "github.com/pegnet/pegnet/modules/graderStake"
98)
109
@@ -38,13 +37,7 @@ func (d *Pegnetd) GradeS(ctx context.Context, block *factom.EBlock) (graderStake
3837 extids [i ] = entry .ExtIDs [i ]
3938 }
4039 // allow only top 100 stake holders submit prices
41- var stakerRCD []byte
42- if block .Height >= V20HeightActivation {
43- stakerRCD = extids [1 ]
44- }
45- if block .Height >= SprSignatureActivation {
46- stakerRCD = common .ComputeRCDFromPubkey (extids [1 ])
47- }
40+ stakerRCD := extids [1 ]
4841 if d .Pegnet .IsIncludedTopPEGAddress (stakerRCD ) {
4942 // ignore bad opr errors
5043 err = g .AddSPR (entry .Hash [:], extids , entry .Content )
You can’t perform that action at this time.
0 commit comments