issue-166-open-timestamps #220
@ -264,7 +264,7 @@ export const VerifyPage = () => {
|
||||
})
|
||||
|
||||
if (upgradedTimestamps.length === 0) {
|
||||
toast.success('No further timestamp upgrades found.')
|
||||
toast.success('No timestamp upgrades found.')
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ export const generateTimestamp = async (
|
||||
export const upgradeAndVerifyTimestamp = async (
|
||||
timestamp: OpenTimestamp
|
||||
): Promise<OpenTimestampUpgradeVerifyResponse> => {
|
||||
const upgradedResult = await retry(() => upgrade(timestamp))
|
||||
const upgradedResult = await upgrade(timestamp)
|
||||
return await verify(upgradedResult)
|
||||
}
|
||||
|
||||
@ -44,6 +44,7 @@ export const upgradeAndVerifyTimestamp = async (
|
||||
const upgrade = async (
|
||||
t: OpenTimestamp
|
||||
): Promise<OpenTimestampUpgradeVerifyResponse> => {
|
||||
console.log('timestamp: ', t)
|
||||
const detachedTimestamp =
|
||||
window.OpenTimestamps.DetachedTimestampFile.deserialize(
|
||||
hexStringToUint8Array(t.value)
|
||||
|
Loading…
Reference in New Issue
Block a user