dchat: enabled localnet

This commit is contained in:
aggstam
2022-10-19 14:03:06 +03:00
parent e15d3d582a
commit 49b6582930
2 changed files with 3 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ earlier in Alice and Bob's settings.
```toml
[network."dchat"]
port = 50515
localnet = true
```
Now run `lilith`:

View File

@@ -147,6 +147,7 @@ fn alice() -> Result<AppSettings> {
inbound: vec![inbound],
external_addr: vec![ext_addr],
seeds: vec![seed],
localnet: true,
..Default::default()
};
@@ -170,6 +171,7 @@ fn bob() -> Result<AppSettings> {
inbound: vec![],
outbound_connections: 5,
seeds: vec![seed],
localnet: true,
..Default::default()
};