Skip to content

Conversation

@hebasto
Copy link
Member

@hebasto hebasto commented Oct 23, 2018

After merging #13622 the adjustedTime parameter in the updateStatus function is unused.

@practicalswift
Copy link
Contributor

practicalswift commented Oct 23, 2018

utACK cfc55edb6ae7bc49b4df38954fc434ffa831b78f

Nice find @hebasto! Thanks for cleaning this up.

@DrahtBot
Copy link
Contributor

DrahtBot commented Oct 23, 2018

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@fanquake
Copy link
Member

Concept ACK, however it looks like the changes could be more comprehensive.

The remaining uses of adjustedTime in /qt/ are in:

  • FormatTxStatus
  • getWalletTxDetails
  • tryGetTxStatus

Of which, it looks like the usage of adjustedTime in atleast FormatTxStatus is also redundant?

@hebasto
Copy link
Member Author

hebasto commented Oct 24, 2018

@practicalswift, @fanquake Thank you for your reviews.

@fanquake's comment has been addressed. Please re-review.

@fanquake
Copy link
Member

utACK 58fbed1

Can you squash 58fbed1 into cfc55ed, and prefix the commit message with qt:, so that it's clear that these are qt/wallet changes.

qt: After merging bitcoin#13622 the `adjustedTime` is not used any more in
wallet related functions.
@hebasto hebasto force-pushed the 20181023-unused-adjustedtime branch from 58fbed1 to 04972fe Compare October 28, 2018 07:10
@hebasto
Copy link
Member Author

hebasto commented Oct 28, 2018

@fanquake Done.

@fanquake
Copy link
Member

re-utACK 04972fe

Copy link
Contributor

@ken2812221 ken2812221 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 04972fe

@promag
Copy link
Contributor

promag commented Nov 4, 2018

utACK 04972fe.

@laanwj laanwj merged commit 04972fe into bitcoin:master Nov 5, 2018
laanwj added a commit that referenced this pull request Nov 5, 2018
04972fe Remove unused `adjustedTime` parameter (Hennadii Stepanov)

Pull request description:

  After merging #13622 the `adjustedTime` parameter in the `updateStatus` function is unused.

Tree-SHA512: 1d0e03e7343f076ee0032fb721f8ba50571d579958001aab372a43e45b4de24c2bf3bd18c245071cbd69f61ef38182e19666c6f936d55c9085b73c848ba62626
@hebasto hebasto deleted the 20181023-unused-adjustedtime branch November 5, 2018 12:09
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Jul 28, 2021
04972fe Remove unused `adjustedTime` parameter (Hennadii Stepanov)

Pull request description:

  After merging bitcoin#13622 the `adjustedTime` parameter in the `updateStatus` function is unused.

Tree-SHA512: 1d0e03e7343f076ee0032fb721f8ba50571d579958001aab372a43e45b4de24c2bf3bd18c245071cbd69f61ef38182e19666c6f936d55c9085b73c848ba62626

# Conflicts:
#	src/interfaces/wallet.cpp
#	src/interfaces/wallet.h
#	src/qt/transactionrecord.cpp
#	src/qt/transactionrecord.h
#	src/qt/transactiontablemodel.cpp
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants