We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9cb4a commit a70677eCopy full SHA for a70677e
packages/client/lib/net/protocol/ethprotocol.ts
@@ -150,7 +150,7 @@ export class EthProtocol extends Protocol {
150
*/
151
decodeStatus(status: any): any {
152
return {
153
- networkId: bufferToInt(status.networkId),
+ networkId: new BN(status.networkId),
154
td: new BN(status.td),
155
bestHash: status.bestHash,
156
genesisHash: status.genesisHash,
packages/client/lib/net/protocol/lesprotocol.ts
@@ -202,7 +202,7 @@ export class LesProtocol extends Protocol {
202
}
203
204
205
206
headTd: new BN(status.headTd),
207
headHash: status.headHash,
208
headNum: new BN(status.headNum),
0 commit comments