Merge pull request #3338
51219457
core: fix sending to the source address with a short payment id (moneromooo-monero)
This commit is contained in:
commit
9841a452e5
|
@ -190,6 +190,8 @@ namespace cryptonote
|
||||||
addr = i.addr;
|
addr = i.addr;
|
||||||
++count;
|
++count;
|
||||||
}
|
}
|
||||||
|
if (count == 0 && change_addr)
|
||||||
|
return change_addr->m_view_public_key;
|
||||||
return addr.m_view_public_key;
|
return addr.m_view_public_key;
|
||||||
}
|
}
|
||||||
//---------------------------------------------------------------
|
//---------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue