Skip to content

Commit 7850e53

Browse files
authored
fix: return userOpHash instead of txHash (#682)
1 parent b9d266f commit 7850e53

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

advanced/wallets/react-wallet-v2/src/lib/smart-accounts/builders/SafeUserOpBuilder.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
createSmartAccountClient,
2424
ENTRYPOINT_ADDRESS_V07,
2525
getAccountNonce,
26-
getPackedUserOperation,
2726
getUserOperationHash
2827
} from 'permissionless'
2928
import {
@@ -172,12 +171,9 @@ export class SafeUserOpBuilder implements UserOpBuilder {
172171
maxPriorityFeePerGas: BigInt(userOp.maxPriorityFeePerGas)
173172
}
174173
})
175-
const receipt = await pimlicoBundlerClient.waitForUserOperationReceipt({
176-
hash: userOpHash
177-
})
178174

179175
return {
180-
receipt: receipt.receipt.transactionHash
176+
receipt: userOpHash
181177
}
182178
}
183179

0 commit comments

Comments
 (0)