Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864872
D17708.id52843.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D17708.id52843.diff
View Options
diff --git a/cashtab/src/config/tokenBlacklist.ts b/cashtab/src/config/tokenBlacklist.ts
--- a/cashtab/src/config/tokenBlacklist.ts
+++ b/cashtab/src/config/tokenBlacklist.ts
@@ -1533,8 +1533,8 @@
'ellipsis',
'superfarm',
],
- bannedTickers: ['ebtc', 'xbt', 'xecx', 'stXEC'],
- bannedNames: ['ebitcoin', 'Staked XEC', 'Staked eCash'],
+ bannedTickers: ['ebtc', 'xbt', 'xecx', 'stXEC', 'firma'],
+ bannedNames: ['ebitcoin', 'Staked XEC', 'Staked eCash', 'firma'],
fiatTickers: cashtabSettingsValidation.fiatCurrency,
fiatNames,
fiatSymbols,
diff --git a/cashtab/src/validation/__tests__/index.test.js b/cashtab/src/validation/__tests__/index.test.js
--- a/cashtab/src/validation/__tests__/index.test.js
+++ b/cashtab/src/validation/__tests__/index.test.js
@@ -232,6 +232,12 @@
it(`isProbablyNotAScam prevents new genesis tx of "Staked XEC" as token name`, () => {
expect(isProbablyNotAScam('Staked XEC')).toBe(false);
});
+ it(`isProbablyNotAScam prevents new genesis tx of "FIRMA" as token ticker`, () => {
+ expect(isProbablyNotAScam('FIRMA')).toBe(false);
+ });
+ it(`isProbablyNotAScam prevents new genesis tx of "Firma" as token name`, () => {
+ expect(isProbablyNotAScam('Firma')).toBe(false);
+ });
it(`isProbablyNotAScam recognizes "bitcoin" is probably a scam token name`, () => {
expect(isProbablyNotAScam('bitcoin')).toBe(false);
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 22:56 (4 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5865656
Default Alt Text
D17708.id52843.diff (1 KB)
Attached To
D17708: [Cashtab] Update token scam prevention list
Event Timeline
Log In to Comment