adshares / ads

ADS Blockchain
Other
21 stars 4 forks source link

get_broadcast: broadcast id is in wrong format #119

Closed PawelPodkalicki closed 6 years ago

PawelPodkalicki commented 6 years ago

In response for get_broadcast request broadcast.id is missing delimiter ":". There is 0001000000070001. It should be 0001:00000007:0001.

{
    "current_block_time": "1530885568",
    "previous_block_time": "1530885536",
    "tx": {
        "data": "1201000600000080753F5BC5753F5B9726B17ECB478E2A34A14216C1293098EF371EC008D8CD5D9E7E1CA533ECA0651EFC9C44230FFDCBFAC910215D9D11FAFDE385171D351CE52FD8E478F54E0306"
    },
    "log_file": "archive",
    "block_time_hex": "5B3F7580",
    "block_time": "1530885504",
    "broadcast": [{
            "block_time": "1530885504",
            "block_date": "2018-07-06 15:58:24",
            "node": "1",
            "account": "0",
            "address": "0001-00000000-9B6F",
            "account_msid": "1",
            "time": "1530885508",
            "date": "2018-07-06 15:58:28",
            "data": "030100000000000100000084753F5B0100",
            "message": "3C",
            "signature": "0F05A2CD4F50E2CD72ADB09CE3F0655C8D20DB8F6CB4DF495FF58FEABA3E737118AD196D98C09D6CF45AE45176AC6952AC9B882EE0518B787A9D4F03AA354508",
            "input_hash": "39CD4BA04A83E33C0EC8BDE305D989E781F1C18DCB43595ED5E3A44D9EB74E0D",
            "public_key": "A9C0D972D8AAB73805EC4A28291E052E3B5FAFE0ADC9D724917054E5E2690363",
            "verify": "passed",
            "node_msid": "7",
            "node_mpos": "1",
            "id": "0001000000070001",
            "fee": "0.00000010000"
        }
    ]
}
jzemlo commented 6 years ago

fixed