Skip to content

Commit 008cf72

Browse files
author
yangsai
committed
Merge branch 'multi-assets'
2 parents 1cec39a + 8dc8632 commit 008cf72

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Chain/libraries/wallet/TransactionLedger.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ vector<PrettyTransaction> Wallet::get_pretty_transaction_history(const string& a
17171717
}
17181718
}
17191719
}
1720-
pretties.push_back(to_pretty_trx(item));
1720+
pretties.push_back(pretty_trx);
17211721
}
17221722

17231723
const auto sorter = [](const PrettyTransaction& a, const PrettyTransaction& b) -> bool
@@ -2114,6 +2114,13 @@ PrettyTransaction Wallet::to_pretty_trx(const WalletTransactionEntry& trx_rec) c
21142114
break;
21152115
}
21162116

2117+
/*contract*/
2118+
case transaction_op_type:
2119+
{
2120+
pretty_trx.trx_type = thinkyoung::blockchain::TransactionType::call_contract_transaction;
2121+
break;
2122+
}
2123+
21172124
default:
21182125
break;
21192126
}

0 commit comments

Comments
 (0)