Support enforce_nonce and add random nonce for message creation

This commit is contained in:
Rapptz committed 2024-10-27 14:49:41 -04:00
1 parent e94fb45527
commit a0b0a97e52
2 files changed
+5

No files matched your search

+1
View File
@@ -197,6 +197,7 @@ def handle_message_parameters(
if nonce is not None:
payload['nonce'] = str(nonce)
payload['enforce_nonce'] = True
if message_reference is not MISSING:
payload['message_reference'] = message_reference