mikedilger / chorus

Chorus is a nostr relay
Other
40 stars 7 forks source link

`verify_events` has a default of `true`, but it's still required to be specified? #17

Closed fiatjaf closed 3 months ago

fiatjaf commented 3 months ago
Error: Error { inner: Config(Error { inner: Error { inner: TomlError { message: "missing field `verify_events`", original: Some("data_directory = \"./data\"\nport = 6405\nip_address = \"127.0.0.1\"\nhostname = \"chorus.fiatjaf.com\"\nuse_tls = false\nname = \"chorus_experimental\"\ndescription = \"hello world\"\ncontact = \"https://t.me/fiatjaf\"\npublic_key_hex = \"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d\"\nuser_hex_keys = [\n  \"17e7efb9a9ae241a489f2cde2d852c2601cb19a1729cf19ec4a0f03ac34ffabc\"\n]\nmax_subscriptions = 64\n\ncertchain_pem_path = \"tls/fullchain.pem\"\nkey_pem_path = \"tls/privkey.pem\"\n"), keys: [], span: Some(0..471) } } }), location: Location { file: "chorus-bin/src/main.rs", line: 51, col: 43 } }

This also happens for other properties like allow_scraping and so on.

mikedilger commented 3 months ago

fixed in dc4811c0ef53212f3175fb57d99b08e28858de86