1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
This commit is contained in:
Stanislav-Povolotsky 2025-03-05 09:48:10 -08:00 committed by GitHub
commit 592c0273e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -268,7 +268,7 @@ td::Result<td::Ref<vm::Cell>> add_extra_currencies(const td::Ref<vm::Cell> &e1,
block::CurrencyCollection c1{td::zero_refint(), e1};
block::CurrencyCollection c2{td::zero_refint(), e2};
TRY_RESULT_ASSIGN(c1, TRY_VM(td::Result<block::CurrencyCollection>{c1 + c2}));
if (c1.is_valid()) {
if (!c1.is_valid()) {
return td::Status::Error("Failed to add extra currencies");
}
return c1.extra;