diff options
| author | Andrew Chow <[email protected]> | 2018-07-14 19:19:44 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-08-09 18:39:56 -0700 |
| commit | 48b1473c898129a99212e2db36c61cf93625ea17 (patch) | |
| tree | 5450731f5b800cec8548802e28deccfd45cc946a /src/wallet/wallet.cpp | |
| parent | Always create 70 byte signatures with low R values (diff) | |
| download | discoin-48b1473c898129a99212e2db36c61cf93625ea17.tar.xz discoin-48b1473c898129a99212e2db36c61cf93625ea17.zip | |
Use 71 byte signature for DUMMY_SIGNATURE_CREATOR
Changes DUMMY_SIGNATURE_CREATOR to create 71 byte dummy signatures.
Update comments to reflect this change
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 16568d0e0..173f1b786 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1540,7 +1540,7 @@ int64_t CWalletTx::GetTxTime() const return n ? n : nTimeReceived; } -// Helper for producing a max-sized low-S signature (eg 72 bytes) +// Helper for producing a max-sized low-S low-R signature (eg 71 bytes) bool CWallet::DummySignInput(CTxIn &tx_in, const CTxOut &txout) const { // Fill in dummy signatures for fee calculation. @@ -1556,7 +1556,7 @@ bool CWallet::DummySignInput(CTxIn &tx_in, const CTxOut &txout) const return true; } -// Helper for producing a bunch of max-sized low-S signatures (eg 72 bytes) +// Helper for producing a bunch of max-sized low-S low-R signatures (eg 71 bytes) bool CWallet::DummySignTx(CMutableTransaction &txNew, const std::vector<CTxOut> &txouts) const { // Fill in dummy signatures for fee calculation. |