Veil-Project / veil

Veil-Project
MIT License
117 stars 91 forks source link

"bip9_softforks" RPC result is not a JSON array #674

Open mimirmim opened 5 years ago

mimirmim commented 5 years ago

When doing "getblockchainfo" in a RPC client or CLI, under "bip9_softforks" it shows "zc_limp" but it isn't displayed in an array as expected.

Expected:

  "bip9_softforks": [
    "zc_limp": {
      "status": "active",
      "startTime": 1556347500,
      "timeout": 1579805817,
      "since": 161040
    }
  ],

Got:

  "bip9_softforks": {
    "zc_limp": {
      "status": "active",
      "startTime": 1556347500,
      "timeout": 1579805817,
      "since": 161040
    }
  },

This happens on all current blockchain compatible Veil-Project clients.

mimirmim commented 5 years ago

I plan on submitting pull requests for this and other RPC issues, I just am submitting it now as a reminder for myself and in case someone else would like to tackle it.