cln-rpc: Make Pubkey and ShortChannelId proper types

This commit is contained in:
Christian Decker
2022-04-01 14:43:34 +10:30
committed by Rusty Russell
parent ef145c7900
commit 1613c44b0a
7 changed files with 159 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
use crate::codec::JsonCodec;
use crate::codec::JsonRpc;
use anyhow::{Context, Error, Result};
use anyhow::{Context, Result};
pub use anyhow::Error;
use futures_util::sink::SinkExt;
use futures_util::StreamExt;
use log::{debug, trace};