From 8c50ba5f112f0350c414455e870a5a2626452d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=20Faltib=C3=A0?= Date: Thu, 1 Feb 2024 11:54:28 +0100 Subject: [PATCH] convert OperationBuilder map fields to BTreeMap --- src/interface/builder.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interface/builder.rs b/src/interface/builder.rs index 8dfcedd7..348cbb82 100644 --- a/src/interface/builder.rs +++ b/src/interface/builder.rs @@ -19,7 +19,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::collections::{HashMap, HashSet}; +use std::collections::{BTreeMap, HashSet}; use amplify::confinement::{Confined, TinyOrdMap, TinyOrdSet, U16}; use amplify::{confinement, Wrapper}; @@ -518,10 +518,10 @@ pub struct OperationBuilder { global: GlobalState, rights: TinyOrdMap>, 1, U16>>, fungible: - TinyOrdMap, RevealedValue>, 1, U16>>, - data: TinyOrdMap, RevealedData>, 1, U16>>, + TinyOrdMap, RevealedValue>, 1, U16>>, + data: TinyOrdMap, RevealedData>, 1, U16>>, attachments: - TinyOrdMap, RevealedAttach>, 1, U16>>, + TinyOrdMap, RevealedAttach>, 1, U16>>, // TODO: add valencies }