adshares / ads

ADS Blockchain
Other
21 stars 4 forks source link

get_fields invalid response for type==get_me #161

Closed PawelPodkalicki closed 5 years ago

PawelPodkalicki commented 6 years ago

Function get_me is alias for get_account, but get_fields does not recognize it as valid function.

$ echo '{"run":"get_fields", "type":"get_me"}' | ads -w .
Public key: XXXXXXXXXXXXXXXXXXXXX
Node port: 9001
Node host: XXXXXXXXXXX
Address: 0001-00000000-9B6F
Node   id: 1
User   id: 0
LastMsgId: 0
PrettyOut: 1
LogOutput: 1
Dry Run  : 0
WARNING: last hash missing!
[1536842443] GOT REQUEST {"run":"get_fields", "type":"get_me"}
Unsupported transaction type � 
{
    "error": "Incorrect transaction type"
}
PawelPodkalicki commented 5 years ago

Function get_fields is depreciated.