|
@ -13,6 +13,8 @@ Item { |
|
|
property var stateList: [] |
|
|
property var stateList: [] |
|
|
|
|
|
|
|
|
function fromPlainStateItem(s) { |
|
|
function fromPlainStateItem(s) { |
|
|
|
|
|
if (!s.accounts) |
|
|
|
|
|
s.accounts = [stateListModel.newAccount("1000000", QEther.Ether)]; //support old project |
|
|
return { |
|
|
return { |
|
|
title: s.title, |
|
|
title: s.title, |
|
|
transactions: s.transactions.map(fromPlainTransactionItem), |
|
|
transactions: s.transactions.map(fromPlainTransactionItem), |
|
|