Fix core.SetMetadata

This commit is contained in:
Neil Alexander 2018-12-15 12:21:00 +00:00
parent 9a5cf96c29
commit 07c26176b6
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -247,7 +247,7 @@ func (c *Core) GetMetadata() metadataPayload {
}
// Sets the node metadata.
func (c *Core) SetMetadata(meta metadataPayload) {
func (c *Core) SetMetadata(meta interface{}) {
c.metadata.setMetadata(meta)
}