mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Typo
This commit is contained in:
parent
f9bcecbe20
commit
a525f5200d
@ -88,10 +88,8 @@ export class Webserver {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await faucet.credit(address, matchingDenom);
|
await faucet.credit(address, matchingDenom);
|
||||||
// Count IPs to prevent draining
|
// Count addresses to prevent draining
|
||||||
if (context.request.ip) {
|
this.addressCounter.push({ address: address, date: Date.now() });
|
||||||
this.addressCounter.push({ address: address, date: Date.now() });
|
|
||||||
}
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
throw new HttpError(500, "Sending tokens failed");
|
throw new HttpError(500, "Sending tokens failed");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user