Page MenuHomePhabricator

Rename various variable so they do not shadow
ClosedPublic

Authored by deadalnix on Sep 12 2018, 13:23.

Details

Summary

As per title, this also uncovered a problem in the RPC code when dumping help for each method.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

schancel retitled this revision from Rename various variable so they do not shaddow to Rename various variable so they do not shadow.Sep 15 2018, 15:11
schancel edited the summary of this revision. (Show Details)
schancel added a subscriber: schancel.
schancel added inline comments.
src/rpc/server.cpp
226 ↗(On Diff #4893)

Is this the problem that had been discovered?

src/script/sigcache.h
49 ↗(On Diff #4893)

What are these things shadowing?

src/script/sign.h
58 ↗(On Diff #4893)

Worst variable name ever.

This revision is now accepted and ready to land.Sep 15 2018, 15:14
This revision was automatically updated to reflect the committed changes.
src/rpc/server.cpp
226 ↗(On Diff #4893)

Yes

src/script/sigcache.h
49 ↗(On Diff #4893)

The amount field in the parent class