forked from lthn/blockchain
api transition fix
This commit is contained in:
parent
1c404348a0
commit
fb31c8862b
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ namespace tools
|
||||||
for (const auto& item : rsp2.transfers)
|
for (const auto& item : rsp2.transfers)
|
||||||
{
|
{
|
||||||
res.transfers.push_back(wallet_public::wallet_transfer_info_old());
|
res.transfers.push_back(wallet_public::wallet_transfer_info_old());
|
||||||
static_cast<wallet_public::wallet_transfer_info>(res.transfers.back()) = item;
|
*static_cast<wallet_public::wallet_transfer_info*>(&res.transfers.back()) = item;
|
||||||
for (const auto& subitem : item.subtransfers)
|
for (const auto& subitem : item.subtransfers)
|
||||||
{
|
{
|
||||||
if (subitem.asset_id == currency::native_coin_asset_id)
|
if (subitem.asset_id == currency::native_coin_asset_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue