IRISxiaowang / substrate-bank

MIT No Attribution
0 stars 0 forks source link

fixed rotate-treasury() #41

Closed IRISxiaowang closed 9 months ago

IRISxiaowang commented 9 months ago

Close #40

Fixed rotate_treasury(root, new_treasury), when the treasury account is not set, set it with the new_treasury account id. Added test, make sure treasury account can be set successfully.