teamnsrg / ethereum-p2p

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
17 stars 9 forks source link

case-study pass data to send function correctly #43

Closed SimonSK closed 6 years ago

SimonSK commented 6 years ago

I accidentally found the cause while trying to fix the test cases (rlpx_test.go:TestProtocolHandshake). It was due to misuse of interface and slice of interfaces when calling SendDEVp2p and SendEthSubproto.

SimonSK commented 6 years ago

moved to #46