Skip to content

JSON.stringify order #4

@GlebIrovich

Description

@GlebIrovich

First of all thanks for the content and sharing the code!

I have one question though. Class is a js object, where fields are not ordered. If you produce a string from the Transaction with JSON.stringify you cannot ensure consistent order, right? So it might be that same transaction produces different hashes. Would it make more sense to convert this to an array and then convert to string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions