pass wallet directly to inputsMine since identity.wallet may not be defined when it's called.