mirror of https://github.com/status-im/js-waku.git
chore: remove unneeded declaration
This commit is contained in:
parent
e902231873
commit
670816049a
|
@ -20,8 +20,7 @@ export function decodeMultiaddrs(bytes: Uint8Array): Multiaddr[] {
|
|||
const multiaddrBytes = bytes.slice(index, index + size);
|
||||
index += size;
|
||||
|
||||
const ma = multiaddr(multiaddrBytes);
|
||||
multiaddrs.push(ma);
|
||||
multiaddrs.push(multiaddr(multiaddrBytes));
|
||||
}
|
||||
return multiaddrs;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue