From 648217664cc8acb48d639f4033a730555898f34f Mon Sep 17 00:00:00 2001 From: Afonina Tatiana <99973342+tafonina@users.noreply.github.com> Date: Tue, 13 Jun 2023 23:24:25 +0300 Subject: [PATCH] Feature/fix web3 method from ascii (#312) * fix web3.fromAscii to web3.utils.asciiToHex method in document floe * replace web3 to this.wallet.proxeusFS.web3 as metamask no longer injects web3 --- ui/core/src/views/DocumentFlow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/core/src/views/DocumentFlow.vue b/ui/core/src/views/DocumentFlow.vue index e3db688d8..d43a38ff7 100644 --- a/ui/core/src/views/DocumentFlow.vue +++ b/ui/core/src/views/DocumentFlow.vue @@ -472,7 +472,7 @@ export default { this.wallet.proxeusFS.createFileUndefinedSigners({ from: account, hash, - data: (this.data === '' ? '0x00' : web3.fromAscii(this.data)), + data: (this.data === '' ? '0x00' : this.wallet.proxeusFS.web3.utils.fromAscii(this.data)), mandatorySigners: 0, expiry: 0, providers: [],