Skip to content

Create get_currency() helper

While implementing revocation, I need to get the whole head block just to get the currency:

    head_block = HeadBlock().head_block
    currency = head_block["currency"]

I suggest we create a function get_currency() that would only return the currency codename.

Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information