diff --git a/crates/bft-json-crdt/src/json_crdt.rs b/crates/bft-json-crdt/src/json_crdt.rs index 087323c..4f3648b 100644 --- a/crates/bft-json-crdt/src/json_crdt.rs +++ b/crates/bft-json-crdt/src/json_crdt.rs @@ -21,7 +21,7 @@ use fastcrypto::{ // object field order in JSON objects. However, the hash check impl in bft-json-crdt does take order // into account. This is going to cause problems later for non-Rust implementations, BFT hash checking // currently depends on JSON serialization/deserialization object order. This shouldn't be the case -// but I've hacked it for the moment to get the PoC working. To see the problem, replace this with +// but I've hacked in an IndexMap for the moment to get the PoC working. To see the problem, replace this with // a std HashMap, everything will screw up (annoyingly, only *most* of the time). use indexmap::IndexMap; use serde::{Deserialize, Serialize};