We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a88b3 commit 433ae27Copy full SHA for 433ae27
plugins/chain_plugin/chain_plugin.cpp
@@ -3335,6 +3335,15 @@ read_only::get_abi_results read_only::get_abi( const get_abi_params& params )con
3335
const auto& accnt = d.get<account_object,by_name>( params.account_name );
3336
3337
abi_def abi;
3338
+
3339
+ if (accnt.abi.size() == 0) {
3340
+ const auto& accnt_systokenabi = d.get<account_object,by_name>( infrablockchain::chain::infrablockchain_standard_token_interface_abi_account_name );
3341
+ if( abi_serializer::to_abi(accnt_systokenabi.abi, abi) ) {
3342
+ result.abi = std::move(abi);
3343
+ }
3344
+ return result;
3345
3346
3347
if( abi_serializer::to_abi(accnt.abi, abi) ) {
3348
result.abi = std::move(abi);
3349
}
0 commit comments