From a3b64724fe7d4c5d85f9efadc6e43d54771df463 Mon Sep 17 00:00:00 2001 From: ms Date: Thu, 4 Jul 2024 17:54:52 +0200 Subject: [PATCH] fix test-emulator --- emulator/test/emulator-tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emulator/test/emulator-tests.cpp b/emulator/test/emulator-tests.cpp index abde974ad..0780be611 100644 --- a/emulator/test/emulator-tests.cpp +++ b/emulator/test/emulator-tests.cpp @@ -260,7 +260,7 @@ TEST(Emulator, wallet_int_and_ext_msg) { CHECK(transaction_boc.is_ok()); auto trans_cell = vm::std_boc_deserialize(transaction_boc.move_as_ok()); CHECK(trans_cell.is_ok()); - auto trans_hash = trans_cell.ok()->get_hash().bits(); + td::Bits256 trans_hash = trans_cell.ok()->get_hash().bits(); block::gen::Transaction::Record trans; block::gen::TransactionDescr::Record_trans_ord trans_descr; CHECK(tlb::unpack_cell(trans_cell.move_as_ok(), trans) && tlb::unpack_cell(trans.description, trans_descr)); @@ -315,7 +315,7 @@ TEST(Emulator, wallet_int_and_ext_msg) { CHECK(ext_transaction_boc.is_ok()); auto ext_trans_cell = vm::std_boc_deserialize(ext_transaction_boc.move_as_ok()); CHECK(ext_trans_cell.is_ok()); - auto ext_trans_hash = ext_trans_cell.ok()->get_hash().bits(); + td::Bits256 ext_trans_hash = ext_trans_cell.ok()->get_hash().bits(); block::gen::Transaction::Record ext_trans; block::gen::TransactionDescr::Record_trans_ord ext_trans_descr; CHECK(tlb::unpack_cell(ext_trans_cell.move_as_ok(), ext_trans) && tlb::unpack_cell(ext_trans.description, ext_trans_descr));