mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +01:00
cln-plugin: Re-export anyhow::anyhow macro
For now this makes reporting an error from plugins much simpler for now. Changelog-None
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
use crate::codec::{JsonCodec, JsonRpcCodec};
|
use crate::codec::{JsonCodec, JsonRpcCodec};
|
||||||
use anyhow::{anyhow, Context};
|
pub use anyhow::anyhow;
|
||||||
|
use anyhow::Context;
|
||||||
use futures::sink::SinkExt;
|
use futures::sink::SinkExt;
|
||||||
use tokio::io::{AsyncReadExt, AsyncWriteExt};
|
use tokio::io::{AsyncReadExt, AsyncWriteExt};
|
||||||
extern crate log;
|
extern crate log;
|
||||||
|
|||||||
Reference in New Issue
Block a user