Skip to content

Commit

Permalink
Update generator.go
Browse files Browse the repository at this point in the history
Remove testing code.
  • Loading branch information
name committed May 4, 2019
1 parent 3a77d1b commit 3a0adae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/phantom/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ func (ping *MasternodePing) GenerateMasternodePing(sentinelVersion uint32, daemo
mnp.Vin = *txIn

//setup the time
//mnp.SigTime = uint64(ping.PingTime.Add(time.Second * 3).UTC().Unix()) //generate a deterministic time
mnp.SigTime = uint64(ping.PingTime.Add(time.Minute * 12).UTC().Unix())
mnp.SigTime = uint64(ping.PingTime.Add(time.Second * 3).UTC().Unix()) //generate a deterministic time

//sign the ping
wif, err := btcutil.DecodeWIF(ping.PrivateKey)
Expand Down

0 comments on commit 3a0adae

Please sign in to comment.