good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit ad038b62 authored by Felix Lange's avatar Felix Lange Committed by GitHub
Browse files

accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212)


* accounts/scwallet: use go-ethereum crypto instead of go-ecdh

github.com/wsddn/go-ecdh is a wrapper package for ECDH functionality
with any elliptic curve.

Since 'generic' ECDH is not required in accounts/scwallet (the curve is
always secp256k1), we can just use the standard library functionality
and our own crypto libraries to perform ECDH and save a dependency.

* Update accounts/scwallet/securechannel.go

Co-authored-by: default avatarGuillaume Ballet <gballet@gmail.com>

* Use the correct key

Co-authored-by: default avatarGuillaume Ballet <gballet@gmail.com>
parent 68161827
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment