readded forgotten setdata to insertblock
parent
997e27b532
commit
ca53da854e
|
@ -731,6 +731,9 @@ class Core:
|
||||||
metadata['powRandomToken'] = powToken
|
metadata['powRandomToken'] = powToken
|
||||||
metadata['time'] = str(self._utils.getEpoch())
|
metadata['time'] = str(self._utils.getEpoch())
|
||||||
|
|
||||||
|
payload = json.dumps(metadata) + '\n' + data
|
||||||
|
retData = self.setData(payload)
|
||||||
|
|
||||||
return retData
|
return retData
|
||||||
|
|
||||||
def introduceNode(self):
|
def introduceNode(self):
|
||||||
|
|
Loading…
Reference in New Issue