Skip to content

Commit f6bd154

Browse files
author
Lee Miller
committed
Alias disseminatePreEncryptedMsg as disseminatePreparedObject, edit docstring
1 parent 7836538 commit f6bd154

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,18 +1282,18 @@ def ListSubscriptions(self):
12821282
})
12831283
return {'subscriptions': data}
12841284

1285-
@command('disseminatePreEncryptedMsg')
1286-
def HandleDisseminatePreEncryptedMsg(
1285+
@command('disseminatePreEncryptedMsg', 'disseminatePreparedObject')
1286+
def HandleDisseminatePreparedObject(
12871287
self, encryptedPayload,
12881288
nonceTrialsPerByte=networkDefaultProofOfWorkNonceTrialsPerByte,
12891289
payloadLengthExtraBytes=networkDefaultPayloadLengthExtraBytes
12901290
):
12911291
"""
12921292
Handle a request to disseminate an encrypted message.
12931293
1294-
The device issuing this command to PyBitmessage supplies a msg object
1294+
The device issuing this command to PyBitmessage supplies an object
12951295
that has already been encrypted but which may still need the PoW
1296-
to be done. PyBitmessage accepts this msg object and sends it out
1296+
to be done. PyBitmessage accepts this object and sends it out
12971297
to the rest of the Bitmessage network as if it had generated
12981298
the message itself.
12991299

0 commit comments

Comments
 (0)