Skip to content

Commit

Permalink
Merge pull request #1627 from AntelopeIO/se_wallet_yield
Browse files Browse the repository at this point in the history
fix build on macOS: add yield for Secure Enclave wallet's `to_string()` call
  • Loading branch information
spoonincode authored Sep 13, 2023
2 parents fc604dc + 4fbc551 commit 872cfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/wallet_plugin/se_wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ bool se_wallet::import_key(string wif_key) {

string se_wallet::create_key(string key_type) {
EOS_ASSERT(key_type.empty() || key_type == "R1", chain::unsupported_key_type_exception, "Secure Enclave wallet only supports R1 keys");
return my->create().to_string();
return my->create().to_string({});
}

bool se_wallet::remove_key(string key) {
Expand Down

0 comments on commit 872cfc9

Please sign in to comment.