algorand: remove wormhole from token name (#1494)

This commit is contained in:
jumpsiegel 2022-08-31 11:45:27 -05:00 committed by GitHub
parent 29ea7a3048
commit 5e855b2d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ def approve_token_bridge(seed_amt: int, tmpl_sig: TmplSig, devMode: bool):
# Lets trim this... seems these are limited to 8 characters
Symbol.store(trim_bytes(Symbol.load())),
If (Len(Symbol.load()) > Int(8), Symbol.store(Extract(Symbol.load(), Int(0), Int(8)))),
Name.store(Concat(trim_bytes(Name.load()), Bytes(" (Wormhole)"))),
Name.store(trim_bytes(Name.load())),
# Due to constrains on some supported chains, all token
# amounts passed through the token bridge are truncated to