contractor: add blocking check in contractmaintenance for if the wallet is unlocked

Status Job ID Name Coverage
  Lint
passed #169600955
lint

00:03:50

 
  Test
passed #169600958
integration-tests

00:31:22

75.0%
passed #169600956
legacy-tests

00:28:58

51.9%
passed #169600957
package-tests

00:20:26

87.3%