Fix crash on wallet_open when not synced
Fix crash on wallet_open when not synced

FollowMyVote/bitshares,jakeporter/Bitshares,FollowMyVote/bitshares,FollowMyVote/bitshares,bitshares/bitshares-0.x,bitshares/bitshares-0.x,dacsunlimited/dac_play,bitshares/bitshares,camponez/bitshares,bitshares/bitshares,bitshares/bitshares-0.x,RemitaBit/Remitabit,bitshares/bitshares-0.x,bitshares/bitshares-0.x,bitshares/bitshares-0.x,drltc/keyid,dacsunlimited/dac_play,bitshares/devshares,frrp/bitshares,jakeporter/Bitshares,RemitaBit/Remitabit,bitsuperlab/cpp-play,FollowMyVote/bitshares,frrp/bitshares,camponez/bitshares,camponez/bitshares,frrp/bitshares,jakeporter/Bitshares,jakeporter/Bitshares,Ziftr/bitshares,frrp/bitshares,dacsunlimited/dac_play,RemitaBit/Remitabit,bitsuperlab/cpp-play,jakeporter/Bitshares,dacsunlimited/dac_play,bitshares/bitshares,camponez/bitshares,bitshares/devshares,bitshares/devshares,drltc/keyid,bitshares/devshares,RemitaBit/Remitabit,dacsunlimited/dac_play,bitsuperlab/cpp-play,Ziftr/bitshares,bitshares/devshares,jakeporter/Bitshares,drltc/keyid,camponez/bitshares,RemitaBit/Remitabit,bitsuperlab/cpp-play,bitsuperlab/cpp-play,RemitaBit/Remitabit,bitshares/bitshares,camponez/bitshares,dacsunlimited/dac_play,FollowMyVote/bitshares,Ziftr/bitshares,FollowMyVote/bitshares,bitshares/devshares,bitshares/bitshares,bitshares/bitshares,frrp/bitshares,drltc/keyid,Ziftr/bitshares,bitsuperlab/cpp-play,frrp/bitshares