rename json field "bannedtill" to "banned_until"

This commit is contained in:
Jonas Schnelli 2015-06-12 17:42:32 +02:00
parent 433fb1a95d
commit 3de24d7647

View file

@ -544,7 +544,7 @@ Value listbanned(const Array& params, bool fHelp)
{
Object rec;
rec.push_back(Pair("address", (*it).first.ToString()));
rec.push_back(Pair("bannedtill", (*it).second));
rec.push_back(Pair("banned_untill", (*it).second));
bannedAddresses.push_back(rec);
}