Skip to content

Commit

Permalink
🥅 Guard tx hash not set in arweave upload flow
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Feb 7, 2024
1 parent 8bec8cb commit bc665d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/IscnUploadForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,9 @@ export default class UploadForm extends Vue {
tempRecord.transactionHash = transactionHash
if (!tempRecord.transactionHash) {
tempRecord.transactionHash = await this.sendArweaveFeeTx(tempRecord);
if (!tempRecord.transactionHash) {
throw new Error('TRANSACTION_NOT_SENT')
}
}
try {
Expand Down

0 comments on commit bc665d2

Please sign in to comment.