chore: remove unneeded declaration

This commit is contained in:
fryorcraken.eth 2022-10-31 11:27:07 +11:00
parent e902231873
commit 670816049a
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@ export function decodeMultiaddrs(bytes: Uint8Array): Multiaddr[] {
const multiaddrBytes = bytes.slice(index, index + size); const multiaddrBytes = bytes.slice(index, index + size);
index += size; index += size;
const ma = multiaddr(multiaddrBytes); multiaddrs.push(multiaddr(multiaddrBytes));
multiaddrs.push(ma);
} }
return multiaddrs; return multiaddrs;
} }