Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment #1329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
11 changes: 6 additions & 5 deletions itest/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,9 @@ func testMinRelayFeeBump(t *harnessTest) {
require.NoError(t.t, err)
}

// testRestartReceiver tests that the receiver node's asset balance after a
// single asset transfer does not change if the receiver node restarts.
// 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
// receiver node was not storing asset transfer in its database with the
Expand Down Expand Up @@ -1667,9 +1668,9 @@ func assertAssetNtfsEvent[T assetRpcEvent](t *harnessTest,
expectedCount, countFound)
}

// assertAssetNtfsEvent 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.
// 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,
timeout time.Duration, encodedAddr string,
stream *EventSubscription[*tapdevrpc.ReceiveAssetEvent]) {
Expand Down