Skip to content

Commit

Permalink
Fix function description of BMC.handleRelayMessage in documents
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark-icon committed Mar 15, 2021
1 parent 350a00a commit 64c90db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/bmc.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ BTP Message for error reply is composed of followings.
* Description:
- It verify and decode RelayMessage with BMV, and dispatch BTP Messages
to registered BSHs
- It's allowed to be called by the BMC.
- It's allowed to be called by registered Relay.

#### sendMessage
* Params
Expand Down
2 changes: 1 addition & 1 deletion pyscore/bmc/bmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def _send_sack(self, _link: BTPAddress, height: int, seq: int):
def handleRelayMessage(self, _prev: str, _msg: str):
"""
It verifies and decodes the Relay Message with BMV and dispatches BTP Messages to registered BSHs.
It's allowed to be called by the BMC.
It's allowed to be called by registered Relay.
:param _prev: String ( BTP Address of the previous BMC )
:param _msg: String ( base64 encoded string of serialized bytes of Relay Message )
Expand Down

0 comments on commit 64c90db

Please sign in to comment.