Skip to content

Commit

Permalink
base64 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IkoroVictor committed Mar 16, 2017
1 parent 2f047d6 commit 718b9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/identity-chaincode.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ func (t *IdentityChainCode) AddIdentity(stub shim.ChaincodeStubInterface, identi
encryptedAttachmentURIString := identityParams[7]
var encryptedAttachmentURI []byte
if encryptedAttachmentURIString != "" {
encryptedAttachmentURI, err = decodeBase64(identityParams[3])
encryptedAttachmentURI, err = decodeBase64(identityParams[7])
if err != nil {
return nil, fmt.Errorf("Bad Encrypted AttachmentURI [%v] ", err)
}
Expand Down

0 comments on commit 718b9a9

Please sign in to comment.