We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75531e commit 0b7cc7eCopy full SHA for 0b7cc7e
libraries/chain/db_block.cpp
@@ -223,6 +223,8 @@ bool database::_push_block(const signed_block& new_block)
223
*/
224
processed_transaction database::push_transaction( const precomputable_transaction& trx, uint32_t skip )
225
{ try {
226
+ // see https://github.com/bitshares/bitshares-core/issues/1573
227
+ FC_ASSERT( fc::raw::pack_size( trx ) < (1024 * 1024), "Transaction exceeds maximum transaction size." );
228
processed_transaction result;
229
detail::with_skip_flags( *this, skip, [&]()
230
{
0 commit comments