Skip to content

Commit

Permalink
Merge pull request #2 from jaonoctus/fix/payment-hash-long-format
Browse files Browse the repository at this point in the history
fix(payment-hash): show last bytes
  • Loading branch information
jaonoctus authored Dec 10, 2024
2 parents 7a3019a + 37131f3 commit 75344f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function checkPaymentProof() {
}
function formatLong(text: string) {
const long = text.replace(/\s+/g, '').toUpperCase().slice(0, 16)
const long = text.replace(/\s+/g, '').toUpperCase().slice(Math.max(0, text.length - 16))
return `0x${long}`
}
</script>
Expand Down

0 comments on commit 75344f7

Please sign in to comment.