Closed CocDap closed 2 years ago
This is a no_std
issue. Thank you for finding it!
Lockable currency needs a line like this https://github.com/substrate-developer-hub/recipes/blob/master/pallets/reservable-currency/src/lib.rs#L3
Also Lockable Currency should have been installed in the super runtime.
If you can add this line and add the pallet to the runtime, I would really appreciate your PR :)
Thanks you very much . It works @@
When I implement Currency trait. Your recipes give 3 example about Currency (Reserve, Lockable, Imbalance).But when i add Lockable Currency pallet into super-runtime -> It is error![image](https://user-images.githubusercontent.com/48429826/120447658-02e52280-c3b5-11eb-8ff8-f4b762646398.png)
p/s: I dont modify in lockable-currency pallet, i only define it in super-runtime (lib.rs) and add path pallet in Cargo.toml (in super-runtime)
Can anyone help me ? Thank you