Olaoluwa Osuntokun

Results 791 comments of Olaoluwa Osuntokun

> I think we need to do this instead. From caller's view the behavior of the new btcwallet.PublishTransaction is not changed. Thought about this a bit more, and it's potentially...

Here's a crude diff I used to verify the question above: ```diff diff --git a/lnwallet/btcwallet/btcwallet.go b/lnwallet/btcwallet/btcwallet.go index ff0161d36..455af3126 100644 --- a/lnwallet/btcwallet/btcwallet.go +++ b/lnwallet/btcwallet/btcwallet.go @@ -14,7 +14,6 @@ import ( "github.com/btcsuite/btcd/btcutil/hdkeychain"...

Pasting some initial investigation by @carlaKC: I added a timeout to `TestChannelLinkCancelFullCommitment` (see [branch](https://github.com/carlaKC/lnd/tree/TestChannelLinkCancelFullCommitment-deadlock)) and took a mutex profile. I suspect that this may be a deadlock similair to [what...

![profile001](https://user-images.githubusercontent.com/998190/123487762-6e409f80-d5c3-11eb-97b1-18055c221f5d.png)

Related PR: https://github.com/lightningnetwork/lnd/pull/6633

PR up here: #6810. Thx @guggero for starting the impl

The refactoring I did in #6770 should make it easier to write unit tests for this change as well.

Ok, I think this is g2g now: just pushed up fixes, a new unit test, and also an itest to make sure negotiation works e2e.