[tests pass] Output address on new key import.

This commit is contained in:
Nathan Wilcox
2017-09-18 15:24:30 +09:00
parent 63cdea4233
commit d187317083

View File

@@ -144,7 +144,7 @@ UniValue importprivkey(const UniValue& params, bool fHelp)
}
}
return NullUniValue;
return CBitcoinAddress(vchAddress).ToString();
}
UniValue importaddress(const UniValue& params, bool fHelp)