lnwallet: add ability to do custom sort for coop close txn
This commit is contained in:
1 parent
517608ca3b
commit
117a144f4e
2 files changed
+59
-6
No files matched your search
@@ -11772,11 +11772,12 @@ func TestCreateCooperativeCloseTx(t *testing.T) {
|
||||
)
|
||||
}
|
||||
|
||||
closeTx := CreateCooperativeCloseTx(
|
||||
closeTx, err := CreateCooperativeCloseTx(
|
||||
*fundingTxIn, localDust, remoteDust,
|
||||
test.localBalance, test.remoteBalance,
|
||||
localScript, remoteScript, opts...,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
|
||||
txsort.InPlaceSort(test.expectedTx)
|
||||
|
||||
|
||||
Reference in new issue
Block a user