diff --git a/frontend/src/helpers/utils.js b/frontend/src/helpers/utils.js index 30d3a63..3e6b05e 100644 --- a/frontend/src/helpers/utils.js +++ b/frontend/src/helpers/utils.js @@ -4,12 +4,12 @@ export function ipToBigInt(ip) { // Check if it's an IPv4 address if (ip.includes(".")) { const addr = new Address4(ip) - return addr.bigInteger() + return addr.bigInt() } // Otherwise, assume it's an IPv6 address const addr = new Address6(ip) - return addr.bigInteger() + return addr.bigInt() } export function humanFileSize(size) {