V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 1cd8f192bb - Show all commits

fix double call of setup in v1 proxy

Maple 2026-01-31 17:24:11 +01:00

View file

@ -23,8 +23,6 @@ use tokio::task;
use tokio::time::sleep;
pub async fn start() {
setup();
let conn = tokio::net::TcpStream::connect(&*EDGE_NODE_HOLDER)
.await
.unwrap();

View file

@ -15,7 +15,7 @@ use tokio::net::TcpStream;
pub static FORWARD_EDGE_NODE_HOLDER: Lazy<SocketAddrV4> = Lazy::new(|| {
env::var("FORWARD_EDGE_NODE_HOLDER")
.ok()
.and_then(|s| s.parse().ok())
.and_then(|s| Some(s.parse().unwrap()))
.expect("FORWARD_EDGE_NODE_HOLDER not set")
});