Skip to content

Commit

Permalink
remove memo limits
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Mar 4, 2023
1 parent 12a99a3 commit 94d1e9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/token.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void pool::issue( const name& to, const asset& quantity, const string& memo )
{
auto sym = quantity.symbol;
check( sym.is_valid(), "invalid symbol name" );
check( memo.size() <= 256, "memo has more than 256 bytes" );
// check( memo.size() <= 256, "memo has more than 256 bytes" );

stats statstable( get_self(), sym.code().raw() );
auto existing = statstable.find( sym.code().raw() );
Expand All @@ -51,7 +51,7 @@ void pool::retire( const asset& quantity, const string& memo )
{
auto sym = quantity.symbol;
check( sym.is_valid(), "invalid symbol name" );
check( memo.size() <= 256, "memo has more than 256 bytes" );
// // check( memo.size() <= 256, "memo has more than 256 bytes" );

stats statstable( get_self(), sym.code().raw() );
auto existing = statstable.find( sym.code().raw() );
Expand Down Expand Up @@ -89,7 +89,7 @@ void pool::transfer( const name& from,
check( quantity.is_valid(), "invalid quantity" );
check( quantity.amount > 0, "must transfer positive quantity" );
check( quantity.symbol == st.supply.symbol, "symbol precision mismatch" );
check( memo.size() <= 256, "memo has more than 256 bytes" );
// // check( memo.size() <= 256, "memo has more than 256 bytes" );

auto payer = has_auth( to ) ? to : from;

Expand Down

0 comments on commit 94d1e9e

Please sign in to comment.