mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-12-23 00:45:52 -05:00
improvement: make comments match code for nauthz example
This commit is contained in:
parent
a16c4e698a
commit
36eaf9fea5
|
@ -47,7 +47,7 @@ impl Authorization for EventAuthz {
|
|||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let addr = "[::1]:50051".parse().unwrap();
|
||||
|
||||
// A simple authorization engine that allows kinds 1, 2, and 3.
|
||||
// A simple authorization engine that allows kinds 0-3
|
||||
let checker = EventAuthz {
|
||||
allowed_kinds: vec![0,1,2,3],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user