Skip to content

Commit

Permalink
Merge pull request input-output-hk#83 from input-output-hk/revert-82-…
Browse files Browse the repository at this point in the history
…sign-tx-to_bytes

Revert "output signed tx in binary format"
  • Loading branch information
NicolasDP authored Jan 30, 2020
2 parents fed3758 + 95e60f1 commit 863f712
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cardano-wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, JsValue> {
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.
Expand Down

0 comments on commit 863f712

Please sign in to comment.