mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
scripted-diff: Replace UINT256_ONE() with uint256::ONE
-BEGIN VERIFY SCRIPT-
sed -i '/inline.* UINT256_ONE() {/,+1d' src/uint256.h
sed -i 's/UINT256_ONE()/uint256::ONE/' $(git grep -l UINT256_ONE)
-END VERIFY SCRIPT-
This commit is contained in:
@@ -150,6 +150,4 @@ inline uint256 uint256S(const std::string& str)
|
||||
return rv;
|
||||
}
|
||||
|
||||
inline const uint256& UINT256_ONE() { return uint256::ONE; }
|
||||
|
||||
#endif // BITCOIN_UINT256_H
|
||||
|
||||
Reference in New Issue
Block a user