Merge pull request #679 from cosmos/allow-empty-attribute-values
Allow empty value on event attributes
This commit is contained in:
commit
03c98c6d54
@ -101,7 +101,7 @@ interface RpcAttribute {
|
||||
function decodeAttribute(attribute: RpcAttribute): responses.Attribute {
|
||||
return {
|
||||
key: fromBase64(assertNotEmpty(attribute.key)),
|
||||
value: fromBase64(assertNotEmpty(attribute.value)),
|
||||
value: fromBase64(optional(attribute.value, "")),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user