aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-12-30 14:05:27 -0500
committerAndrew Chow <achow101-github@achow101.com>2020-01-23 16:35:08 -0500
commit4977c30d59e88a3e5ee248144bcc023debcd895b (patch)
treeffd93cc643f1f5ac0f0255a9da6f3e1c9a202fbf /src/wallet/wallet.cpp
parent415afcccd3e5583defdb76e3a280f48e98983301 (diff)
refactor: define a UINT256_ONE global constant
Instead of having a uint256 representations of one scattered throughout where it is used, define it globally in uint256.h
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 45c8de2eab..3d47411962 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -238,7 +238,7 @@ WalletCreationStatus CreateWallet(interfaces::Chain& chain, const SecureString&
return WalletCreationStatus::SUCCESS;
}
-const uint256 CWalletTx::ABANDON_HASH(uint256S("0000000000000000000000000000000000000000000000000000000000000001"));
+const uint256 CWalletTx::ABANDON_HASH(UINT256_ONE());
/** @defgroup mapWallet
*