Hi,
I run this :
fn tx_from_raw(
&self,
raw: RawTransaction,
) -> Result<Box,
EncodingError> {
let tx = transactions::tx_from_raw(raw)?;
Ok(tx.into())
}
However the compiler says did you mean transaction::tx_from_raw(raw)! It should not be like that How to fix it ? Thanks for contribution to help me
Please, try to use ``` next time, it is much easier to read the code.
fn tx_from_raw(&self, raw: RawTransaction) -> Result<Box, EncodingError> {
let tx = transactions::tx_from_raw(raw)?;
Ok(tx.into())
}
Where is the transactions::tx_from_raw
function or macro defined? If it's from a published crate, can you link to the documentation?
I might be mistaken, but this looks like Exonum API. If I am correct, you might check out - Gitter to get a more direct help.