diff --git a/src/daemon/MoneroDaemonModel.cpp b/src/daemon/MoneroDaemonModel.cpp index 80e46f4..97d6ef6 100644 --- a/src/daemon/MoneroDaemonModel.cpp +++ b/src/daemon/MoneroDaemonModel.cpp @@ -220,7 +220,7 @@ namespace monero { // merge vouts if (!other->vouts.empty()) { - for (const shared_ptr& vout : other->vouts) vout->tx = shared_ptr(this); + for (const shared_ptr& vout : other->vouts) vout->tx = self; if (vouts.empty()) vouts = other->vouts; else {