pass wallet directly to inputsMine since identity.wallet may not be defined when it's called.
Merge branch 'develop' into new_bitcoinjs