Skip to content

Commit

Permalink
Feature/fix web3 method from ascii (#312)
Browse files Browse the repository at this point in the history
* fix web3.fromAscii to web3.utils.asciiToHex method in document floe

* replace web3 to this.wallet.proxeusFS.web3 as metamask no longer injects web3
  • Loading branch information
tafonina committed Jun 13, 2023
1 parent 31d7c8a commit 6482176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/core/src/views/DocumentFlow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand Down

0 comments on commit 6482176

Please sign in to comment.