You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatePaymentKeyFromTextEnvelope . decodeTextEnvelope gives the same result as privatePaymentKeyFromFile.
Stable state
privatePaymentKeyFromFile drops half (?) of a CBOR on the first read and does not do it any more.
So in this code:
let
f key =doContract.Wallet.KeyFile.privatePaymentKeyToFile "temp" key
Contract.Wallet.KeyFile.privatePaymentKeyFromFile "temp"
key0 <- f key
key1 <- f key0
key2 <- f key1
...
Bug report
Description
Given the example
Expected behavior
key
is equal tokey'
.Actual behavior
key
is different fromkey'
.Details
privatePaymentKeyFromTextEnvelope
privatePaymentKeyFromTextEnvelope . decodeTextEnvelope
gives the same result asprivatePaymentKeyFromFile
.Stable state
privatePaymentKeyFromFile
drops half (?) of a CBOR on the first read and does not do it any more.So in this code:
key0 /= key1
but
key1 = key2 = key3 ... keyn
Revision
4e3a69c
The text was updated successfully, but these errors were encountered: