Hold cs_main/cs_wallet in main MakeCollateralAmounts (#3197)
Hold cs_main/cs_wallet in main MakeCollateralAmounts (#3197)

* Hold cs_main/cs_wallet in main MakeCollateralAmounts

Otherwise smth else can alter wallet state and we might end up creating conflicting txes.

* AssertLockHeld

thelazier/dash,nmarley/dash,thelazier/dash,UdjinM6/dash,UdjinM6/dash,nmarley/dash,nmarley/dash,thelazier/dash,nmarley/dash,nmarley/dash,dashpay/dash,dashpay/dash,dashpay/dash,dashpay/dash,dashpay/dash,UdjinM6/dash,thelazier/dash,nmarley/dash,UdjinM6/dash,UdjinM6/dash,nmarley/dash,thelazier/dash