Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
offshiftXFT
offshift-frontend-public
Commits
e68d5eed
Commit
e68d5eed
authored
2 years ago
by
XFT
Browse files
Options
Download
Email Patches
Plain Diff
padding fix
parent
bde794d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/app/core/services/contract.service.ts
src/app/core/services/contract.service.ts
+1
-1
No files found.
src/app/core/services/contract.service.ts
View file @
e68d5eed
...
...
@@ -454,7 +454,7 @@ export class ContractService extends BaseService {
const
commitment
=
buffPedersenHash
(
preimage
)
const
commitmentHex
=
toFixedHex
(
commitment
)
const
saveNote
=
`0x
${
nullifier
.
toString
(
16
,
'
hex
'
).
pad
End
(
62
,
'
0
'
)}${
secret
.
toString
(
16
,
'
hex
'
).
pad
End
(
62
,
'
0
'
)}
`
;
const
saveNote
=
`0x
${
nullifier
.
toString
(
16
,
'
hex
'
).
pad
Start
(
62
,
'
0
'
)}${
secret
.
toString
(
16
,
'
hex
'
).
pad
Start
(
62
,
'
0
'
)}
`
;
const
hexNote
=
`0x
${
preimage
.
toString
(
'
hex
'
)}
`
const
password
=
this
.
getOrSetPasswordLocally
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment