diff options
Diffstat (limited to 'src/core_write.cpp')
-rw-r--r-- | src/core_write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_write.cpp b/src/core_write.cpp index d116e617ee..5271b01b88 100644 --- a/src/core_write.cpp +++ b/src/core_write.cpp @@ -141,7 +141,7 @@ void ScriptPubKeyToUniv(const CScript& scriptPubKey, out.pushKV("type", GetTxnOutputType(type)); UniValue a(UniValue::VARR); - BOOST_FOREACH(const CTxDestination& addr, addresses) + for (const CTxDestination& addr : addresses) a.push_back(CBitcoinAddress(addr).ToString()); out.pushKV("addresses", a); } |