What is the best practice for functions that complete with fund transfers?

前端 未结 0 1825
小蘑菇
小蘑菇 2020-12-14 16:58

Should the func return the transfer promise or transfer the funds async and return void?

fn withdraw_all(&mut sel         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题