Skip to content

chore: fix some function names in comment - #524

Closed
curlwget wants to merge 1 commit into
zcash:masterfrom
curlwget:master
Closed

curlwget wants to merge 1 commit into
zcash:masterfrom
curlwget:master

Conversation

@curlwget

Copy link
Copy Markdown

fix some function names in comment

Signed-off-by: curlwget <curlwget@icloud.com>
@LarryRuane

Copy link
Copy Markdown
Collaborator

Thanks — both comments were stale, and #526 reported the GetTaddressTransactions one as well.

This PR conflicts with master, so rather than ask for a rebase I've fixed both in one commit and credited both reports. The GetTaddressTransactions comment also needed its trailing "NB, this method is misnamed" line dropped: that note described GetTaddressTxids, which still exists as a deprecated wrapper further down and carries the explanation there.

Closing in favor of that commit.

@LarryRuane LarryRuane closed this Aug 27, 2026
emersonian pushed a commit to zecrocks/lightwalletd that referenced this pull request Aug 29, 2026
Both comments named a function other than the one they document, so
`go doc` and every editor that reads doc comments attributed them to
nothing.

`GetTaddressTransactions` was still documented as `GetTaddressTxids`,
the name it carried before 8c4c83a split the deprecated RPC out into
its own wrapper. Its "NB, this method is misnamed" note goes away with
the rename: it described `GetTaddressTxids`, which is still deprecated,
still present, and still carries that explanation in full -- along with
a link to zcash#426 -- on the wrapper 90 lines below.

`addBlockActive` was documented as `DarksideAddBlock`, a name that no
longer exists anywhere in the tree.

Reported in zcash#524 and zcash#526.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015DeK7pepamvANHSUUZWBpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants