From 1bcb2f45f598bb8b3f1d268e2679b73b84d5d88b Mon Sep 17 00:00:00 2001 From: 8lecramm <89603217+8lecramm@users.noreply.github.com> Date: Sun, 19 Jun 2022 21:30:06 +0200 Subject: [PATCH] Add comment --- proxy/feature.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/feature.go b/proxy/feature.go index 697d508..98ab9fc 100644 --- a/proxy/feature.go +++ b/proxy/feature.go @@ -49,7 +49,7 @@ func edit_blob(input []byte, miner [32]byte, nonce bool) (output []byte) { var qnonce [8]byte Found.Lock() // send nonce pattern to all nodes, lasts for 2 hours or until another nonce has been found - // TODO: add command argument + // TODO: add command argument and switch to random data pool if binary.BigEndian.Uint64(Found.nonce[:]) > 0 && time.Now().Sub(Found.timestamp) < time.Hour*2 { copy(qnonce[:], Found.nonce[:]) qrand.Read(qnonce[0:2])