Branch: refs/heads/master
  Home:   https://github.com/conformal/btcjson
  Commit: 6e2fa5aad7d966f7d22a05bb92fb15ff0e153229
      
https://github.com/conformal/btcjson/commit/6e2fa5aad7d966f7d22a05bb92fb15ff0e153229
  Author: Dave Collins <[email protected]>
  Date:   2014-01-24 (Fri, 24 Jan 2014)

  Changed paths:
    M jsonapi.go

  Log Message:
  -----------
  Allow getaddednodeinfo result to be string slice.

The getaddednode command dns flag alters the output.  It is a JSON object
when true and a slice of strings containing the addresses when false.
Note there is a bug in bitcoind as of version 0.8.6 which returns the
addresses as a JSON object with duplicate keys.  This has been reported as
issue 3581 on the bitcoind issue tracker.

This commit allows the result for getaddednodeinfo to be either the JSON
object or the string slice.


Reply via email to