From 31645c6ede3e534f8d5dd78e9be865ca02e2fccc Mon Sep 17 00:00:00 2001 From: cong-or Date: Tue, 7 May 2024 09:50:21 +0100 Subject: [PATCH] clippy --- catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs b/catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs index c25cb5a9a3..c6ed3ddcd3 100644 --- a/catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs +++ b/catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs @@ -308,7 +308,7 @@ fn original_61284_payload(metadata: &Metadatum) -> anyhow::Result> { let registration_payload = Value::Map(vec![( Value::Integer(Integer::from(CIP_36_61284)), - ciborium::Value::Map(cbor_map.to_vec()), + ciborium::Value::Map(cbor_map.clone()), )]); let mut raw_61284 = Vec::new();