def on_identBurnButton_clicked(self, amount=None): mod = MM_util.searchlistbyhash(self.listDict["ident"], self.currentMarket.obj['modid']) amount = self.value_input("How much BTC would you like to BURN?") if not amount or not self.yorn("Are you sure?"): return msgstr = MM_util.createburn( self.myid.hash, self.btcaddr, \ amount, self.getFee(), self.conf_wait, self.conf_end ) hash = MM_util.MM_writefile(msgstr) MM_util.appendindex('burn', hash) self.do_sendmsgviabm(mod.obj['bmaddr'], msgstr) self.info("Proof of BURN sent!")