From f19065176be276ecce070a5339cc899f2b3f01f4 Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 10 Mar 2025 17:42:32 +0900 Subject: [PATCH] multi: apply make fmt to all files --- btcutil/psbt/partialsig.go | 1 + rpcclient/chain_test.go | 6 +++--- rpcclient/example_test.go | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/btcutil/psbt/partialsig.go b/btcutil/psbt/partialsig.go index dfb70049..9d24c49b 100644 --- a/btcutil/psbt/partialsig.go +++ b/btcutil/psbt/partialsig.go @@ -2,6 +2,7 @@ package psbt import ( "bytes" + "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" ) diff --git a/rpcclient/chain_test.go b/rpcclient/chain_test.go index ad1fb7aa..464506d0 100644 --- a/rpcclient/chain_test.go +++ b/rpcclient/chain_test.go @@ -146,7 +146,7 @@ func TestClientConnectedToWSServerRunner(t *testing.T) { } testTable := []TestTableItem{ - TestTableItem{ + { Name: "TestGetChainTxStatsAsyncSuccessTx", TestCase: func(t *testing.T) { client, serverReceivedChannel, cleanup := makeClient(t) @@ -159,7 +159,7 @@ func TestClientConnectedToWSServerRunner(t *testing.T) { } }, }, - TestTableItem{ + { Name: "TestGetChainTxStatsAsyncShutdownError", TestCase: func(t *testing.T) { client, _, cleanup := makeClient(t) @@ -192,7 +192,7 @@ func TestClientConnectedToWSServerRunner(t *testing.T) { } }, }, - TestTableItem{ + { Name: "TestGetBestBlockHashAsync", TestCase: func(t *testing.T) { client, serverReceivedChannel, cleanup := makeClient(t) diff --git a/rpcclient/example_test.go b/rpcclient/example_test.go index 9ba9adad..9b3ac0f3 100644 --- a/rpcclient/example_test.go +++ b/rpcclient/example_test.go @@ -6,6 +6,7 @@ package rpcclient import ( "fmt" + "github.com/btcsuite/btcd/btcjson" )