Fix importprivkey / rescan
Merge pull request #3502

1f12844 Fix importprivkey / rescan (Cozz Lovan)