plugeth/accounts
Martin Holst Swende 4d3525610e
all: remove deprecated uses of math.rand (#26710)
This PR is a (superior) alternative to https://github.com/ethereum/go-ethereum/pull/26708, it handles deprecation, primarily two specific cases. 

`rand.Seed` is typically used in two ways
- `rand.Seed(time.Now().UnixNano())` -- we seed it, just to be sure to get some random, and not always get the same thing on every run. This is not needed, with global seeding, so those are just removed. 
- `rand.Seed(1)` this is typically done to ensure we have a stable test. If we rely on this, we need to fix up the tests to use a deterministic prng-source. A few occurrences like this has been replaced with a proper custom source. 

`rand.Read` has been replaced by `crypto/rand`.`Read` in this PR.
2023-02-16 14:36:58 -05:00
..
abi eth/filters: avoid block body retrieval when no matching logs (#25199) 2023-02-13 10:59:27 +01:00
external all: more linters (#24783) 2022-06-13 16:24:45 +02:00
keystore all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
scwallet accounts/scwallet: fix keycard data signing error (#25331) 2022-10-27 10:06:28 +02:00
usbwallet accounts/usbwallet: support Ledger Nano S Plus and FTS (#25933) 2022-10-11 09:31:32 +02:00
accounts_test.go all: update author list and licenses 2019-07-22 12:17:27 +03:00
accounts.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
errors.go accounts: fix typo in comments (#24805) 2022-05-03 08:49:41 +02:00
hd_test.go accounts, signer: fix Ledger Live account derivation path (clef) (#21757) 2020-11-29 13:43:15 +01:00
hd.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
manager.go all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
sort.go accounts, console: frendly card errors, support pin unblock 2019-04-08 13:19:37 +02:00
url_test.go accounts: increase parseURL test coverage (#25033) 2022-06-07 12:46:27 +02:00
url.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00