htlcswitch: handle update_fee message received from peer.

This commit makes the channellink update a channel's fee
if an update_fee message is received from the peer.
This commit is contained in:
Johan T. Halseth
2017-07-14 20:40:42 +02:00
committed by Olaoluwa Osuntokun
parent ebe05f6568
commit f4db249cb8
3 changed files with 36 additions and 9 deletions

View File

@@ -252,7 +252,7 @@ func TestChannelLinkBidirectionalOneHopPayments(t *testing.T) {
}
// TestChannelLinkMultiHopPayment checks the ability to send payment over two
// hopes. In this test we send the payment from Carol to Alice over Bob peer.
// hops. In this test we send the payment from Carol to Alice over Bob peer.
// (Carol -> Bob -> Alice) and checking that HTLC was settled properly and
// balances were changed in two channels.
func TestChannelLinkMultiHopPayment(t *testing.T) {