[Error] rename msg field to action
authorSavil Srivastava <savil@cs.stanford.edu>
Fri, 20 Jul 2018 00:26:27 +0000 (17:26 -0700)
committerSavil Srivastava <savil@cs.stanford.edu>
Fri, 20 Jul 2018 03:01:55 +0000 (20:01 -0700)
commitfd141bbed2a900070cbecf7ef9f22e377e1f353f
tree12f2c4781ebb3cdbd25e21659ce56022ac447fd2
parent89167164da5e507cc49ca78489ccc7629508102b
[Error] rename msg field to action

this was a TODO and also briefly discussed in https://github.com/rust-bitcoin/rust-lightning/pull/43#pullrequestreview-135649551

I'm not fully sure how to remove the `Option`, and make it completely required. Would love suggestions. So, have omitted that for now. Plus, better to make smaller, incremental changes.

Test Plan:
`cargo build`
`cargo test`
src/ln/channel.rs
src/ln/channelmanager.rs
src/ln/channelmonitor.rs
src/ln/msgs.rs
src/ln/peer_channel_encryptor.rs
src/ln/peer_handler.rs
src/ln/router.rs