File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2462,14 +2462,14 @@ impl UserOperationBuilder {
2462
2462
2463
2463
/// Set paymaster and paymaster data with EIP-2612 permit signature
2464
2464
pub fn paymaster_with_permit < S : Signer > (
2465
- mut self ,
2465
+ & mut self ,
2466
2466
paymaster : EthAddress ,
2467
2467
token_address : EthAddress ,
2468
2468
max_cost : U256 ,
2469
2469
tba_address : EthAddress ,
2470
2470
signer : & S ,
2471
2471
provider : & Provider ,
2472
- ) -> Result < Self , WalletError > {
2472
+ ) -> Result < ( ) , WalletError > {
2473
2473
// Generate paymaster data with real permit signature
2474
2474
let paymaster_data = encode_usdc_paymaster_data_with_signer (
2475
2475
paymaster,
@@ -2479,11 +2479,11 @@ impl UserOperationBuilder {
2479
2479
signer,
2480
2480
provider,
2481
2481
) ?;
2482
-
2482
+
2483
2483
// Set the combined paymaster and data
2484
2484
self . paymaster_and_data = paymaster_data;
2485
-
2486
- Ok ( self )
2485
+
2486
+ Ok ( ( ) )
2487
2487
}
2488
2488
}
2489
2489
You can’t perform that action at this time.
0 commit comments