fix: removes retrier and updates notification
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 30s
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 30s
This commit is contained in:
parent
f38344b9ac
commit
3d5006a715
@ -264,7 +264,7 @@ export const VerifyPage = () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if (upgradedTimestamps.length === 0) {
|
if (upgradedTimestamps.length === 0) {
|
||||||
toast.success('No further timestamp upgrades found.')
|
toast.success('No timestamp upgrades found.')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ export const generateTimestamp = async (
|
|||||||
export const upgradeAndVerifyTimestamp = async (
|
export const upgradeAndVerifyTimestamp = async (
|
||||||
timestamp: OpenTimestamp
|
timestamp: OpenTimestamp
|
||||||
): Promise<OpenTimestampUpgradeVerifyResponse> => {
|
): Promise<OpenTimestampUpgradeVerifyResponse> => {
|
||||||
const upgradedResult = await retry(() => upgrade(timestamp))
|
const upgradedResult = await upgrade(timestamp)
|
||||||
return await verify(upgradedResult)
|
return await verify(upgradedResult)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,6 +44,7 @@ export const upgradeAndVerifyTimestamp = async (
|
|||||||
const upgrade = async (
|
const upgrade = async (
|
||||||
t: OpenTimestamp
|
t: OpenTimestamp
|
||||||
): Promise<OpenTimestampUpgradeVerifyResponse> => {
|
): Promise<OpenTimestampUpgradeVerifyResponse> => {
|
||||||
|
console.log('timestamp: ', t)
|
||||||
const detachedTimestamp =
|
const detachedTimestamp =
|
||||||
window.OpenTimestamps.DetachedTimestampFile.deserialize(
|
window.OpenTimestamps.DetachedTimestampFile.deserialize(
|
||||||
hexStringToUint8Array(t.value)
|
hexStringToUint8Array(t.value)
|
||||||
|
Loading…
Reference in New Issue
Block a user