diff --git a/libzkbob-rs-wasm/src/client/tx_parser.rs b/libzkbob-rs-wasm/src/client/tx_parser.rs index 282bfda..84bab45 100644 --- a/libzkbob-rs-wasm/src/client/tx_parser.rs +++ b/libzkbob-rs-wasm/src/client/tx_parser.rs @@ -71,7 +71,6 @@ pub struct StateUpdate { #[derive(Serialize, Deserialize, Clone, Default, Debug)] pub struct DecMemo { pub index: u64, - pub commitment: Option>, pub acc: Option>, #[serde(rename = "inNotes")] pub in_notes: Vec, @@ -302,7 +301,6 @@ pub fn parse_tx( ParseResult { decrypted_memos: vec![DecMemo { index, - commitment: Some(Num::from_uint_reduced(NumRepr(Uint::from_big_endian(&commitment)))), in_notes: in_notes_indexed, tx_hash: match tx_hash { Some(bytes) => Some(format!("0x{}", hex::encode(bytes))), @@ -356,7 +354,6 @@ pub fn parse_tx( Ok(ParseResult { decrypted_memos: vec![DecMemo { index, - commitment: Some(Num::from_uint_reduced(NumRepr(Uint::from_big_endian(&commitment)))), acc: Some(account), in_notes: in_notes .iter() @@ -402,7 +399,6 @@ pub fn parse_tx( Ok(ParseResult { decrypted_memos: vec![DecMemo { index, - commitment: Some(Num::from_uint_reduced(NumRepr(Uint::from_big_endian(&commitment)))), in_notes: in_notes .iter() .map(|(index, note)| IndexedNote {