lnwallet/chancloser: record the remote close output only when accepted
This change fixes a bookkeeping bug in how LND records the other party's preferred closing address during a channel close. Previously, a late or unexpected Shutdown message could overwrite the correct address with one from a message that w…
fb89732dby Olaoluwa Osuntokun+7−21 file