File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
libraries/eosiolib/core/eosio Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ namespace eosio {
231231 */
232232 friend int64_t operator /( const asset& a, const asset& b ) {
233233 eosio::check ( b.amount != 0 , " divide by zero" );
234- eosio::check ( a.symbol == b.symbol , " comparison of assets with different symbols is not allowed " );
234+ eosio::check ( a.symbol == b.symbol , " attempt to divide assets with different symbol " );
235235 return a.amount / b.amount ;
236236 }
237237
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ EOSIO_TEST_BEGIN(asset_type_test)
312312 })
313313 )
314314
315- CHECK_ASSERT ( " comparison of assets with different symbols is not allowed " , (
315+ CHECK_ASSERT ( " attempt to divide assets with different symbol " , (
316316 [&]() {
317317 asset{1LL , s0} / asset{1LL , s1};
318318 })
You can’t perform that action at this time.
0 commit comments