Skip to content

Commit 35f4ba1

Browse files
committed
Merge branch 'feat/add-resiliency-e2e-tests' of github.com-randy:evstack/ev-node into feat/add-resiliency-e2e-tests
2 parents 1a4d630 + 1d2c715 commit 35f4ba1

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/signer/file/local.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,7 @@ func fallbackDeriveKey(passphrase []byte, keyLen int) []byte {
436436

437437
// zeroBytes overwrites a byte slice with zeros
438438
func zeroBytes(b []byte) {
439-
for i := range b {
440-
b[i] = 0
441-
}
439+
clear(b)
442440
}
443441

444442
// getAddress returns the Ed25519 address of the signer.

0 commit comments

Comments
 (0)