diff options
| author | Alex Morcos <[email protected]> | 2015-12-07 15:44:16 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2016-02-10 15:35:33 -0500 |
| commit | c6c2f0fd782ccf607027414012f45c8f48561a30 (patch) | |
| tree | 851d2b78c132cf851fafb35b6d62b7bf8f562ac6 /src/primitives/transaction.cpp | |
| parent | Merge pull request #6589 (diff) | |
| download | discoin-c6c2f0fd782ccf607027414012f45c8f48561a30.tar.xz discoin-c6c2f0fd782ccf607027414012f45c8f48561a30.zip | |
Implement SequenceLocks functions
SequenceLocks functions are used to evaluate sequence lock times or heights per BIP 68.
The majority of this code is copied from maaku in #6312
Further credit: btcdrak, sipa, NicolasDorier
Diffstat (limited to 'src/primitives/transaction.cpp')
| -rw-r--r-- | src/primitives/transaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp index 46d3cbbe2..7d0b20839 100644 --- a/src/primitives/transaction.cpp +++ b/src/primitives/transaction.cpp @@ -37,7 +37,7 @@ std::string CTxIn::ToString() const str += strprintf(", coinbase %s", HexStr(scriptSig)); else str += strprintf(", scriptSig=%s", HexStr(scriptSig).substr(0, 24)); - if (nSequence != std::numeric_limits<unsigned int>::max()) + if (nSequence != SEQUENCE_FINAL) str += strprintf(", nSequence=%u", nSequence); str += ")"; return str; |