bitcoin/bitcoin — pull request #3586 by laanwj (2014-01-27 09:34:02+00:00)
Title: Fix `getaddednodeinfo` RPC call with dns=false

The getaddednodeinfo RPC call, when invoked with the dns flag set to false, returns a malformed JSON object with duplicate keys.

Change this to return an array of objects with one key as shown in the help message.

Fixes #3581.