kevacoin-project / kevacoin

Kevacoin source tree
https://www.kevacoin.org
MIT License
32 stars 16 forks source link

keva_list_namespace returns incorrect format for pending new namespace #11

Closed kevacoin-project closed 4 years ago

kevacoin-project commented 4 years ago

Steps to reproduce:

  1. Create a new namespace
    keva_namespace my_new_namespace
  2. While the namespace is still pending (not included in the next block), list the namespace

    keva_list_namespace

The namespace returned for the pending namespace is like:

{
    "Nc7SU3ZzaRaFpnBcGnChNJNHwj57pot2Ni": "insta"
}

It should be like:

{
    "namespaceId": "Nc7SU3ZzaRaFpnBcGnChNJNHwj57pot2Ni",
    "displayName": "insta"
}