From 5b940290e1f21009af42daaf2fdc8ca909abf1fd Mon Sep 17 00:00:00 2001 From: lencap Date: Tue, 28 Jan 2025 00:42:41 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: lencap --- asset/mock.go | 2 +- itest/send_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/asset/mock.go b/asset/mock.go index 90e2309f6..69526e4cd 100644 --- a/asset/mock.go +++ b/asset/mock.go @@ -111,7 +111,7 @@ func AssetHasSplitRootAssert(hasSplit bool) AssetAssert { } } -// AssetHasSplitRootAssert returns an Assert that checks the state of an asset's +// AssetHasScriptKeyAssert returns an Assert that checks the state of an asset's // split commitment root. func AssetHasScriptKeyAssert(hasKey bool) AssetAssert { return func(a *Asset) error { diff --git a/itest/send_test.go b/itest/send_test.go index 2b9ee2984..4e653119c 100644 --- a/itest/send_test.go +++ b/itest/send_test.go @@ -282,7 +282,7 @@ func testMinRelayFeeBump(t *harnessTest) { require.NoError(t.t, err) } -// testRestartReceiver tests that the receiver node's asset balance after a +// testRestartReceiverCheckBalance tests that the receiver node's asset balance after a // single asset transfer does not change if the receiver node restarts. // Before the addition of this test, after restarting the receiver node // the asset balance would be erroneously incremented. This is because the @@ -1667,7 +1667,7 @@ func assertAssetNtfsEvent[T assetRpcEvent](t *harnessTest, expectedCount, countFound) } -// assertAssetNtfsEvent asserts that the given asset complete event notification +// assertAssetCompleteEvent asserts that the given asset complete event notification // was received. This function will block until the event is received or the // event stream is closed. func assertAssetCompleteEvent(t *harnessTest,