Skip to content

Remove unnecessary hexlify from deser #33

@sleepdefic1t

Description

@sleepdefic1t

It is unnecessary to hexlify then unhexlify as shown below.

recipientId = hexlify(self.serialized)[
    recipient_start_index : recipient_start_index + 42
]
recipientId = b58encode_check(unhexlify(recipientId)).decode()

The code currently resides HERE (in multi_payment.py), but will change after the merger of #32 (to transfer.py).

(This change was not requested in #32 because it was introduced from upstream.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions