Add comments
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
ff7e441c82
commit
a6d79b26e4
@ -138,6 +138,7 @@ func (a *GasAPI) GasEstimateGasPremium(ctx context.Context, nblocksincl uint64,
|
||||
}
|
||||
}
|
||||
|
||||
// add some noise to normalize behaviour of message selection
|
||||
const precision = 32
|
||||
// mean 1, stddev 0.005 => 95% within +-1%
|
||||
noise := 1 + rand.NormFloat64()*0.005
|
||||
|
Loading…
Reference in New Issue
Block a user