diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-15 09:11:16 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-01-05 15:45:34 +0100 |
| commit | 4f1524966a99c83db8c0c9f1ff74789253a1171e (patch) | |
| tree | 9107f58fdd2c91af6c82e9b2e09a8af36c3d6ca6 /src/wallet.h | |
| parent | Temporarily add SetNull/IsNull/GetCheapHash to base_uint (diff) | |
| download | discoin-4f1524966a99c83db8c0c9f1ff74789253a1171e.tar.xz discoin-4f1524966a99c83db8c0c9f1ff74789253a1171e.zip | |
Replace direct use of 0 with SetNull and IsNull
Replace x=0 with .SetNull(),
x==0 with IsNull(), x!=0 with !IsNull().
Replace uses of uint256(0) with uint256().
Diffstat (limited to 'src/wallet.h')
| -rw-r--r-- | src/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.h b/src/wallet.h index 4d95d0ae2..1d0dc97c6 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -519,7 +519,7 @@ public: void Init() { - hashBlock = 0; + hashBlock = uint256(); nIndex = -1; fMerkleVerified = false; } |