Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: lencap <[email protected]>
  • Loading branch information
lencap committed Jan 27, 2025
1 parent b61c95b commit 5b94029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asset/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions itest/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5b94029

Please sign in to comment.