Fixed some race conditions that caused the funding protocol to stall.
Handled the Funding Received Event coming in early in the Direct Funding protocol
Handled the app funding ledger commitment coming in early in the Virtual Funding protocol
Also did some minor refactoring in Direct Funding so it takes arguments in initialize instead of an action (to follow the pattern of other initialize methods)
Fixed some race conditions that caused the funding protocol to stall.
Also did some minor refactoring in Direct Funding so it takes arguments in initialize instead of an action (to follow the pattern of other
initialize
methods)