From e6f4a75e87e1de0a438cdd4cd3eedc6bfae9f863 Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 26 Feb 2013 23:48:24 +0100 Subject: [PATCH] schema: bugfix, store permanode ref as string in claim Change-Id: I8ed216f268cc458ea2c79943f956034cea60e38d --- pkg/schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/schema/schema.go b/pkg/schema/schema.go index 97d20ac42..9429bbb30 100644 --- a/pkg/schema/schema.go +++ b/pkg/schema/schema.go @@ -681,7 +681,7 @@ func NewClaim(claims ...*ClaimParam) *Builder { func populateClaimMap(m map[string]interface{}, cp *ClaimParam) { m["claimType"] = string(cp.Type) m["attribute"] = cp.Attribute - m["permaNode"] = cp.Permanode + m["permaNode"] = cp.Permanode.String() if !(cp.Type == DelAttribute && cp.Value == "") { m["value"] = cp.Value }