node-blockchain
node-blockchain copied to clipboard
JSON.stringify order
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?