File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export class RlpxServer extends Server {
122
122
async bootstrap ( ) : Promise < void > {
123
123
const promises = this . bootnodes . map ( ( node ) => {
124
124
const bootnode = {
125
- address : node . ip ,
125
+ address : node . ip ! ,
126
126
udpPort : node . port ,
127
127
tcpPort : node . port ,
128
128
}
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ export interface EthereumServiceOptions extends ServiceOptions {
11
11
/* Blockchain database */
12
12
db ?: LevelUp
13
13
14
- /* Protocol timeout in ms (default: 8000) */
15
- timeout ?: number
16
-
17
- /* Sync retry interval in ms (default: 1000) */
14
+ /* Sync retry interval in ms (default: 8000) */
18
15
interval ?: number
16
+
17
+ /* Protocol timeout in ms (default: 2000) */
18
+ timeout ?: number
19
19
}
20
20
21
21
/**
@@ -39,7 +39,7 @@ export class EthereumService extends Service {
39
39
this . flow = new FlowControl ( )
40
40
this . chain = options . chain ?? new Chain ( options )
41
41
this . interval = options . interval ?? 8000
42
- this . timeout = options . timeout ?? 1000
42
+ this . timeout = options . timeout ?? 2000
43
43
}
44
44
45
45
/**
You can’t perform that action at this time.
0 commit comments