[doc] Coin: explain that IsSpent() can also mean never existed

This commit is contained in:
Sjors Provoost committed 2020-06-10 17:46:54 +02:00
1 parent bc933aeaf0
commit 1404c57403
1 file changed
+3
+3
View File
@@ -73,6 +73,9 @@ public:
::Unserialize(s, Using<TxOutCompression>(out)); ::Unserialize(s, Using<TxOutCompression>(out));
} }
/** Either this coin never existed (see e.g. coinEmpty in coins.cpp), or it
* did exist and has been spent.
*/
bool IsSpent() const { bool IsSpent() const {
return out.IsNull(); return out.IsNull();
} }