diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-21 15:28:42 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-10-21 22:13:35 +0200 |
commit | fa8fef6ef2287cd36ae14fbf10e852ddef7e62ac (patch) | |
tree | a905bbdb098d2d6dcab44cc1ab6a8d19c674281c /src/wallet/transaction.h | |
parent | 88fc7950f8db5f13a6b259819aced2e3db7ff4d8 (diff) | |
download | bitcoin-fa8fef6ef2287cd36ae14fbf10e852ddef7e62ac.tar.xz |
doc: Fix CWalletTx::Confirmation doc
Follow-up to:
* commit 700c42b85d20e624bef4228eef062c93084efab5, which replaced pIndex
with block_hash in AddToWalletIfInvolvingMe.
* commit 9700fcb47feca9d78e005b8d18b41148c8f6b25f, which replaced
posInBlock with confirm.nIndex.
Diffstat (limited to 'src/wallet/transaction.h')
-rw-r--r-- | src/wallet/transaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/transaction.h b/src/wallet/transaction.h index 6fc1bd1eed..1ccef31056 100644 --- a/src/wallet/transaction.h +++ b/src/wallet/transaction.h @@ -162,7 +162,8 @@ public: int block_height; uint256 hashBlock; int nIndex; - Confirmation(Status s = UNCONFIRMED, int b = 0, uint256 h = uint256(), int i = 0) : status(s), block_height(b), hashBlock(h), nIndex(i) {} + Confirmation(Status status = UNCONFIRMED, int block_height = 0, uint256 block_hash = uint256(), int block_index = 0) + : status{status}, block_height{block_height}, hashBlock{block_hash}, nIndex{block_index} {} }; Confirmation m_confirm; |