From 95e60f19cbe3606ce8e0bc2e9256240ec9fcd8ba Mon Sep 17 00:00:00 2001 From: Nicolas Di Prima Date: Thu, 30 Jan 2020 17:08:48 +0000 Subject: [PATCH] Revert "output signed tx in binary format" --- cardano-wallet/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cardano-wallet/src/lib.rs b/cardano-wallet/src/lib.rs index 3c298f6..1863002 100755 --- a/cardano-wallet/src/lib.rs +++ b/cardano-wallet/src/lib.rs @@ -921,10 +921,6 @@ impl SignedTransaction { let bytes = cbor!(&self.0).map_err(|e| JsValue::from_str(&format! {"{:?}", e}))?; Ok(util::hex::encode(&bytes)) } - pub fn to_bytes(&self) -> Result { - let bytes = cbor!(&self.0).map_err(|e| JsValue::from_str(&format! {"{:?}", e}))?; - Ok(bytes) - } } /// This is the linear fee algorithm used buy the current cardano blockchain.