Skip to content

Commit b10793e

Browse files
committed
.NET Docs - Synchronous EngineWallet.Create (#6469)
<!-- start pr-codex --> ## PR-Codex overview This PR focuses on modifying the instantiation of the `engineWallet` variable by removing the `await` keyword, indicating a change in how the `EngineWallet.Create` method is called. ### Detailed summary - Changed `var engineWallet = await EngineWallet.Create(` to `var engineWallet = EngineWallet.Create(`. - This change suggests that `EngineWallet.Create` no longer returns a promise or that the method is being called synchronously. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent eefd264 commit b10793e

File tree

1 file changed

+1
-1
lines changed
  • apps/portal/src/app/dotnet/wallets/providers/engine-wallet

1 file changed

+1
-1
lines changed

apps/portal/src/app/dotnet/wallets/providers/engine-wallet/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Instantiate a `Engine` with a given private key. This wallet is capable of signi
1616

1717
```csharp
1818
// EngineWallet is compatible with IThirdwebWallet and can be used with any SDK method/extension
19-
var engineWallet = await EngineWallet.Create(
19+
var engineWallet = EngineWallet.Create(
2020
client: client,
2121
engineUrl: Environment.GetEnvironmentVariable("ENGINE_URL"),
2222
authToken: Environment.GetEnvironmentVariable("ENGINE_ACCESS_TOKEN"),

0 commit comments

Comments
 (0)