diff --git a/banyan-utils/src/ipfs.rs b/banyan-utils/src/ipfs.rs index 2e61a29d..5dbfdc04 100644 --- a/banyan-utils/src/ipfs.rs +++ b/banyan-utils/src/ipfs.rs @@ -135,8 +135,8 @@ pub fn block_put(data: &[u8], codec: u64, pin: bool) -> Result { pub struct IpfsStore; impl IpfsStore { - pub fn new() -> anyhow::Result { - Ok(Self) + pub fn new() -> Self { + Self } }