This commit is contained in:
william 2015-02-02 17:34:44 -05:00
parent 9da655a3f6
commit 45805b06ec

View File

@ -245,9 +245,10 @@ Warning: At present, Bitmessage gets confused if you use both the API and the UI
nonceTrialsPerByte, nonceTrialsPerByte,
payloadLengthExtraBytes payloadLengthExtraBytes
) ) ) )
label = shared.fixPotentiallyInvalidUTF8Data( label )
data = { data = {
'address': shared.apiAddressGeneratorReturnQueue.get(), 'address': shared.apiAddressGeneratorReturnQueue.get(),
'label': label 'label': label.encode( 'base64' )
} }
return 200, data return 200, data