projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Error] rename msg field to action
[rust-lightning]
/
src
/
ln
/
peer_handler.rs
diff --git
a/src/ln/peer_handler.rs
b/src/ln/peer_handler.rs
index 2472518d613a4199678a6dbe0c811d9fe42e38ea..faa0a06ad0674f1cee2972ff7b8643ee0f31b080 100644
(file)
--- a/
src/ln/peer_handler.rs
+++ b/
src/ln/peer_handler.rs
@@
-281,7
+281,7
@@
impl<Descriptor: SocketDescriptor> PeerManager<Descriptor> {
Ok(x) => x,
Err(e) => {
println!("Got error handling message: {}!", e.err);
- if let Some(action) = e.
msg
{
+ if let Some(action) = e.
action
{
match action {
msgs::ErrorAction::UpdateFailHTLC { msg } => {
encode_and_send_msg!(msg, 131);