网站首页
编程语言
数据库
系统相关
其他分享
编程问答
StartLuckNum
2024-10-19
tonkeeper的toogo库的Hashmap序列化有bug
packagetonapiserviceimport( "fmt" "testing" "github.com/tonkeeper/tongo/boc" "github.com/tonkeeper/tongo/tlb")funcTestHashmapE(t*testing.T){ //Hashmap的序列化有bug,数据一样的情况下,有时候会提示notenouthbits. c:=
2024-10-19
ton合约中的变量需要在运行结束之后才能存储到合约中
receive(msg:BatchSyncOrderMsg){self.requireOwner();//EnsurethecalleristhecontractownerletroundInfo:RoundInfo=self.rounds.get(msg.round)!!;//Fetchtheinformationforthespecifiedroundrequire(!(roundInfo.finish),"