Fix: relay tx receipts through the server (CSP blocked direct RPC polls)
After a wallet sent a transaction, waitTx polled the public RPC straight from the browser, which connect-src 'self' blocks (Firefox NetworkError, reported by Marty on Activate; the activation itself landed on-chain). New /api/tx/<hash> relays eth_getTransactionReceipt via the server's RPC pool, so the browser only ever talks to us and the mainnet flip needs no CSP changes. Assets v=20260905a. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<title>The contract | InstantAdPay</title>
|
||||
<meta name="description" content="Plain-language review of the InstantAdPay settlement contract: what it does, what nobody can change, what the operator can and cannot touch, and how to verify all of it yourself.">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||
<link rel="stylesheet" href="/assets/site.css?v=20260904r">
|
||||
<link rel="stylesheet" href="/assets/site.css?v=20260905a">
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
@@ -129,8 +129,8 @@
|
||||
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.</div>
|
||||
</footer>
|
||||
</div>
|
||||
<script src="/assets/common.js?v=20260904r"></script>
|
||||
<script src="/assets/contract.js?v=20260904r"></script>
|
||||
<script src="/assets/chat.js?v=20260904r"></script>
|
||||
<script src="/assets/common.js?v=20260905a"></script>
|
||||
<script src="/assets/contract.js?v=20260905a"></script>
|
||||
<script src="/assets/chat.js?v=20260905a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user