Skip to content

Commit

Permalink
return back function
Browse files Browse the repository at this point in the history
  • Loading branch information
vkjr committed Aug 23, 2024
1 parent e648a6c commit 1e6b0f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils/address.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
hex
(str hex-prefix hex))))

(defn naked-address
[s]
(when s
(string/replace s hex-prefix "")))

(defn address?
[address]
(native-module/address? address))
Expand Down

0 comments on commit 1e6b0f1

Please sign in to comment.