upstream: is_coinbase() for prefix

This commit is contained in:
jeffro256
2025-04-02 19:40:58 -05:00
committed by akildemir
parent ada1fa0e5e
commit 4eb13de957
2 changed files with 2 additions and 2 deletions
@@ -176,7 +176,7 @@ namespace cryptonote {
return tools::base58::encode_addr(integrated_address_prefix, t_serializable_object_to_blob(iadr));
}
//-----------------------------------------------------------------------
bool is_coinbase(const transaction& tx)
bool is_coinbase(const transaction_prefix& tx)
{
if(tx.vin.size() != 1)
return false;
+1 -1
View File
@@ -108,7 +108,7 @@ namespace cryptonote {
, std::function<std::string(const std::string&, const std::vector<std::string>&, bool)> dns_confirm = return_first_address
);
bool is_coinbase(const transaction& tx);
bool is_coinbase(const transaction_prefix& tx);
bool operator ==(const cryptonote::transaction& a, const cryptonote::transaction& b);
bool operator ==(const cryptonote::block& a, const cryptonote::block& b);