From bc061b42621ae4ea6ecbb525b3a46d2f60212fe9 Mon Sep 17 00:00:00 2001 From: crystalstall Date: Mon, 6 Jan 2025 15:30:29 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: crystalstall --- asset/asset_test.go | 2 +- commitment/commitment_test.go | 2 +- itest/collectible_split_test.go | 2 +- itest/loadtest/send_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asset/asset_test.go b/asset/asset_test.go index 44f37fc69..39b92f8cd 100644 --- a/asset/asset_test.go +++ b/asset/asset_test.go @@ -1007,7 +1007,7 @@ func TestDeriveGroupKey(t *testing.T) { require.NotNil(t, groupKey) } -// TestAssetWitness tests that the asset group witness can be serialized and +// TestAssetWitnesses tests that the asset group witness can be serialized and // parsed correctly, and that signature detection works correctly. func TestAssetWitnesses(t *testing.T) { t.Parallel() diff --git a/commitment/commitment_test.go b/commitment/commitment_test.go index 30241a1f9..e2538966d 100644 --- a/commitment/commitment_test.go +++ b/commitment/commitment_test.go @@ -1476,7 +1476,7 @@ func TestTapCommitmentDeepCopy(t *testing.T) { ) } -// TestTaprootAssetCommitmentScript tests that we're able to properly verify if +// TestIsTaprootAssetCommitmentScript tests that we're able to properly verify if // a given script is a valid Taproot Asset commitment script or not. func TestIsTaprootAssetCommitmentScript(t *testing.T) { t.Parallel() diff --git a/itest/collectible_split_test.go b/itest/collectible_split_test.go index dce48b172..a35919686 100644 --- a/itest/collectible_split_test.go +++ b/itest/collectible_split_test.go @@ -386,7 +386,7 @@ func testCollectibleGroupSend(t *harnessTest) { } } -// sendAsset sends the given number of assets of the given type from the given +// sendAssets sends the given number of assets of the given type from the given // node to the other node. func sendAssets(t *testing.T, ctx context.Context, numAssets uint64, assetType taprpc.AssetType, send, receive *tapdHarness, diff --git a/itest/loadtest/send_test.go b/itest/loadtest/send_test.go index 802987986..563010fb5 100644 --- a/itest/loadtest/send_test.go +++ b/itest/loadtest/send_test.go @@ -52,7 +52,7 @@ func sendTest(t *testing.T, ctx context.Context, cfg *Config) { } } -// sendAsset sends the given number of assets of the given type from the given +// sendAssets sends the given number of assets of the given type from the given // node to the other node. func sendAssets(t *testing.T, ctx context.Context, numAssets uint64, assetType taprpc.AssetType, send, receive *rpcClient,