X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Ferrors.rs;h=1b29916e0f56b5e700032ebdff470253eb48f30b;hb=9e5800927a6bdc46e4119765f07d374732b43cc5;hp=27f837775ef19ad4c605a6e3b0659d158ed47164;hpb=53052234959a3c0a7323a194c351c4ba9b46339b;p=rust-lightning diff --git a/lightning/src/util/errors.rs b/lightning/src/util/errors.rs index 27f83777..1b29916e 100644 --- a/lightning/src/util/errors.rs +++ b/lightning/src/util/errors.rs @@ -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, }