api fix
This commit is contained in:
parent
9da655a3f6
commit
45805b06ec
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user