ChannelKeys provides individual commitment secrets
[rust-lightning] / lightning / src / util / errors.rs
index 27f837775ef19ad4c605a6e3b0659d158ed47164..1b29916e0f56b5e700032ebdff470253eb48f30b 100644 (file)
@@ -18,7 +18,7 @@ pub enum APIError {
                /// A human-readable error message
                err: String,
                /// The feerate which was too high.
-               feerate: u64
+               feerate: u32
        },
        /// A malformed Route was provided (eg overflowed value, node id mismatch, overly-looped route,
        /// too-many-hops, etc).
@@ -33,7 +33,7 @@ pub enum APIError {
                /// A human-readable error message
                err: &'static str
        },
-       /// An attempt to call add_update_monitor returned an Err (ie you did this!), causing the
+       /// An attempt to call add/update_monitor returned an Err (ie you did this!), causing the
        /// attempted action to fail.
        MonitorUpdateFailed,
 }