Merge pull request #3338

51219457 core: fix sending to the source address with a short payment id (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2018-03-05 19:13:27 +02:00

View File

@@ -190,6 +190,8 @@ namespace cryptonote
addr = i.addr;
++count;
}
if (count == 0 && change_addr)
return change_addr->m_view_public_key;
return addr.m_view_public_key;
}
//---------------------------------------------------------------