mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
b57ef848aa
* Use TreeMap for storing transaction nodes Going forward we require deterministic serialization for transaction nodes. This PR switches the `Transaction.nodes` to use a TreeMap instead of HashMap, which gives us deterministic serialization order for the transaction nodes. An alternative would be to sort the transaction nodes when serializing, but I feel avoiding HashMap altogether is the safer option as this may bite us elsewhere as well (e.g. tests, new serialization code, etc.). * Address review * Remove unused import |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel |