mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-18 23:58:59 +02:00
fixed seg fault: tx merge updates vout parents to self
This commit is contained in:
@@ -220,7 +220,7 @@ namespace monero {
|
||||
|
||||
// merge vouts
|
||||
if (!other->vouts.empty()) {
|
||||
for (const shared_ptr<MoneroOutput>& vout : other->vouts) vout->tx = shared_ptr<MoneroTx>(this);
|
||||
for (const shared_ptr<MoneroOutput>& vout : other->vouts) vout->tx = self;
|
||||
if (vouts.empty()) vouts = other->vouts;
|
||||
else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user