Commit 5206839
committed
Fix P2P: remove incorrect .default on react-native-tcp-socket require
react-native-tcp-socket exports createConnection directly via
module.exports, not as .default. The require was calling
TcpSocket.default.createConnection which is undefined, causing
a silent crash that was caught as a P2P error.
Verified: Node.js test against seed1.fairco.in:46372 confirms
handshake completes successfully with protocol version 71000.
Also includes edge-to-edge scrolling improvements.1 parent 8f54cf8 commit 5206839
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments