feat: revert with error when sender not allowed
diff --git a/index.ts b/index.ts
index b26d8cd..d792b32 100644
--- a/index.ts
+++ b/index.ts
@@ -105,7 +105,7 @@ class AllowlistPaymaster extends PaymasterAPI {
}
// If the sender is not part of the list return nothing
- return "";
+ throw new Error("Sender not allowlisted");
}
}
// Put your chain here
GitHub
sha: 8ae1133ca99b47f4bca4be415bb607d405853697