diff --git a/src/channel.rs b/src/channel.rs index 07cc2dc..63351cd 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -23,7 +23,7 @@ pub async fn open_channel( payload: ChannelRequest, ) -> anyhow::Result { if payload.capacity > MAX_SEND_AMOUNT.try_into().unwrap() { - anyhow::bail!("max capacity is 1,000,000"); + anyhow::bail!("max capacity is 10,000,000"); } if payload.push_amount < 0 { anyhow::bail!("push_amount must be positive"); diff --git a/src/onchain.rs b/src/onchain.rs index 76f9402..17522c8 100644 --- a/src/onchain.rs +++ b/src/onchain.rs @@ -24,7 +24,7 @@ pub async fn pay_onchain( payload: OnchainRequest, ) -> anyhow::Result { if payload.sats > MAX_SEND_AMOUNT { - anyhow::bail!("max amount is 1,000,000"); + anyhow::bail!("max amount is 10,000,000"); } let txid = {