lbrycrd/src/uint256.cpp
Anthony Fieroni d896099593 Remove duplicate code
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00

12 lines
370 B
C++

// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <crypto/common.h>
#include <uint256.h>
uint64_t GetCheapHash(const uint256& hash)
{
return ReadLE64(hash.begin());
}