Skip to content

Commit

Permalink
fix: scdo send transaction type (#6371)
Browse files Browse the repository at this point in the history
  • Loading branch information
originalix authored Dec 18, 2024
1 parent aaab291 commit 04a4660
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/kit-bg/src/providers/ProviderApiScdo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ class ProviderApiScdo extends ProviderApiBase {
}

@providerApiMethod()
public scdo_sendTransaction(request: IJsBridgeMessagePayload) {
return this._signAndSendTransaction(request, true);
public async scdo_sendTransaction(request: IJsBridgeMessagePayload) {
const tx = await this._signAndSendTransaction(request, true);
return tx.Hash;
}

@providerApiMethod()
Expand Down

0 comments on commit 04a4660

Please sign in to comment.