File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
bindings/nostr-sdk-ffi/bindings-python Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ async def main():
60
60
print (f " hex: { event_id.to_hex()} " )
61
61
print (f " bech32: { event_id.to_bech32()} " )
62
62
63
- time .sleep(2.0 )
63
+ await asyncio .sleep(2.0 )
64
64
65
65
# Get events from relays
66
66
print (" Getting events from relays..." )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ async def main():
41
41
print (f" hex: { event_id .to_hex ()} " )
42
42
print (f" bech32: { event_id .to_bech32 ()} " )
43
43
44
- time .sleep (2.0 )
44
+ await asyncio .sleep (2.0 )
45
45
46
46
# Get events from relays
47
47
print ("Getting events from relays..." )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async def main():
30
30
31
31
print ("###########################################" )
32
32
33
- time .sleep (10.0 )
33
+ await asyncio .sleep (10.0 )
34
34
35
35
36
36
if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments