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 28, 2025
1 parent b61c95b commit 60bb74c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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
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

0 comments on commit 60bb74c

Please sign in to comment.