[bitshares/bitshares-core] get_relative_account_history always return empty [] (#1052)

I use bitshare nodejs api
«`
const account = (await Apis.instance().db_api().exec(‘get_full_accounts’, [[‘jeff-chen’], false]))[0][1]
const accountHistory = await Apis.instance().history_api().exec(‘get_relative_account_history’,
[account.account.id, 0, 100, 0])
console.log(‘——‘, account.account.id)
console.log(util.inspect(accountHistory, false, null))
«`

result is like this
«`
—— 1.2.359844
[]

«`

I checked the doc in http://docs.bitshares.org/development/namespaces/app.html and https://github.com/abitmore/bts-cn-docs/blob/master/BTS%E4%BA%A4%E6%98%93%E6%89%80%E5%AF%B9%E6%8E%A5%E6%8C%87%E5%8D%97%EF%BC%88%E5%8D%95%E8%8A%82%E7%82%B9%E7%89%88%EF%BC%89.txt
the description on those params are different.
I tried 0, 100, 0 and 1, 100, 100
both return empty.

Добавить комментарий