Minting issue

I am minting with my pi on the command line and getinfo command is saying the wallet is locked even though i unlocked it

peercoind -minting
->started fine
peercoin-cli walletpassphrase mypass 0 true
→ got json that said unlocked_minting_only : true
peercoin-cli -getinfo
→ Bunch of info
->Warnings: Info: Minting suspended due to locked wallet

unlock wallet for minting…

I did using:
peercoin-cli walletpassphrase mypass 0 true
→ got json that said unlocked_minting_only : true

You do not need a “-minting” flag.

Just run peercoind.