Fix for non-spendable merged mining reward
This commit is contained in:
parent
04dab2ab20
commit
d3e86238e0
1 changed files with 1 additions and 2 deletions
|
@ -239,8 +239,7 @@ namespace cryptonote
|
|||
crypto::public_key get_tx_pub_key_from_extra(const std::vector<uint8_t>& tx_extra)
|
||||
{
|
||||
std::vector<tx_extra_field> tx_extra_fields;
|
||||
if (!parse_tx_extra(tx_extra, tx_extra_fields))
|
||||
return null_pkey;
|
||||
parse_tx_extra(tx_extra, tx_extra_fields);
|
||||
|
||||
tx_extra_pub_key pub_key_field;
|
||||
if(!find_tx_extra_field_by_type(tx_extra_fields, pub_key_field))
|
||||
|
|
Loading…
Reference in a new issue