Currently we defaulted to buy execution because pay fees was not depositing full amount of currency being transfered to destination. Fix this by removing refund surplus from these calls because they refund before delivery fees are paid for (if used before deposit instruction). To get the surplus deposited we would anyway have to call deposit instruction and it is not worth it for the planks that will be deposited (The deposit instruction will be more expensive that the refunded amount).
Currently we defaulted to buy execution because pay fees was not depositing full amount of currency being transfered to destination. Fix this by removing refund surplus from these calls because they refund before delivery fees are paid for (if used before deposit instruction). To get the surplus deposited we would anyway have to call deposit instruction and it is not worth it for the planks that will be deposited (The deposit instruction will be more expensive that the refunded amount).