From 1eba460a2ce02278e9a462aad858355bee631c5f Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 11 Jul 2018 15:04:26 -0700 Subject: [PATCH] lnwallet/script_utils_test: use exposed CommitScriptUnencumbered --- lnwallet/script_utils_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwallet/script_utils_test.go b/lnwallet/script_utils_test.go index bc51e4bd..0bfac97a 100644 --- a/lnwallet/script_utils_test.go +++ b/lnwallet/script_utils_test.go @@ -90,7 +90,7 @@ func TestCommitmentSpendValidation(t *testing.T) { // We're testing an uncooperative close, output sweep, so construct a // transaction which sweeps the funds to a random address. - targetOutput, err := commitScriptUnencumbered(aliceKeyPub) + targetOutput, err := CommitScriptUnencumbered(aliceKeyPub) if err != nil { t.Fatalf("unable to create target output: %v", err) } @@ -186,7 +186,7 @@ func TestCommitmentSpendValidation(t *testing.T) { // Finally, we test bob sweeping his output as normal in the case that // Alice broadcasts this commitment transaction. - bobScriptP2WKH, err := commitScriptUnencumbered(bobPayKey) + bobScriptP2WKH, err := CommitScriptUnencumbered(bobPayKey) if err != nil { t.Fatalf("unable to create bob p2wkh script: %v", err) }