From 311b0eef6c426f7c6d352db7fb1959b570446f12 Mon Sep 17 00:00:00 2001 From: Fernando Falci Date: Tue, 23 Apr 2024 19:54:41 +0200 Subject: [PATCH] chore: add buffer to register value --- src/hooks/useRegister.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useRegister.js b/src/hooks/useRegister.js index 5d0eb4a..5c8e558 100644 --- a/src/hooks/useRegister.js +++ b/src/hooks/useRegister.js @@ -51,7 +51,7 @@ export const useRegister = ({ address: REGISTER_CONTRACT_ADDR, functionName: 'registerWithSignature', account: address, - value: priceInWei, + value: (priceInWei * 105n) / 100n, enabled: !!signature && !!priceInWei && !!address, args: [ label,