File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
framework/components/blockchain Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,12 +116,12 @@ func newTon(in *Input) (*Output, error) {
116116 }
117117 cfgCtr , _ := stack .ServiceContainer (ctx , "genesis" )
118118 cfgHost , _ := cfgCtr .Host (ctx )
119- cfgPort , _ := cfgCtr .MappedPort (ctx , nat .Port ("8000 /tcp" ))
119+ cfgPort , _ := cfgCtr .MappedPort (ctx , nat .Port (fmt . Sprintf ( "%s /tcp", DefaultTonSimpleServerPort ) ))
120120
121121 // discover lite‐server addr
122122 liteCtr , _ := stack .ServiceContainer (ctx , "genesis" )
123123 liteHost , _ := liteCtr .Host (ctx )
124- litePort , _ := liteCtr .MappedPort (ctx , nat .Port ("40004 /tcp" ))
124+ litePort , _ := liteCtr .MappedPort (ctx , nat .Port (fmt . Sprintf ( "%s /tcp", DefaultTonLiteServerPort ) ))
125125
126126 return & Output {
127127 UseCache : true ,
You can’t perform that action at this time.
0 commit comments