fix crash in clear pending transactions
fix crash in clear pending transactions

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