How can I convert the block number into the Integer type in substrate module?

后端 未结 0 1075
情书的邮戳
情书的邮戳 2020-12-22 09:20

I\'m testing the substrate off-chain worker, what I want to do is receive the current block number, and then do some calculation, just like the below code(get_block / 10), a

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