refactor: route decode_sig/decode_pubkey through muse.core._types canonical codec
Replace local _decode_b64url() helpers in musehub_mpay and musehub_attestations with decode_sig()/decode_pubkey() from muse.core._types. These callers were manually stripping the 'ed25519:' prefix and calling base64.urlsafe_b64decode — exactly what the canonical functions do. Also removes the unused base64 import.
sha256:b398e539dd32c742ffe64bf33fd4e9057e57a8a405d0b71e310ada0b8126af9b
sha
+4
~2
−6
symbols
sha256:5c9673d69153f1ecea04bdbed341f71b4eb8dc9ceae2ff1311ba8fc15118d1c6
snapshot
+4
symbols added
~2
symbols modified
−6
symbols removed
0
dead code introduced
Semantic Changes
12 symbols
~
musehub/services/musehub_attestations.py
.py
2 symbols added, 3 symbols removed, 1 symbol modified
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:b398e539dd32c742ffe64bf33fd4e9057e57a8a405d0b71e310ada0b8126af9b --body "your comment"
No comments yet. Be the first to start the discussion.