Repair lack-of-encoding error
This commit is contained in:
parent
c46f78f536
commit
4737a3d070
|
@ -11,7 +11,7 @@ import { Attenuation, fromSturdyRef, toResolve } from './gen/sturdy.js';
|
||||||
|
|
||||||
const secretKey = new Bytes(KEY_LENGTH);
|
const secretKey = new Bytes(KEY_LENGTH);
|
||||||
mint('syndicate', secretKey).then(v => {
|
mint('syndicate', secretKey).then(v => {
|
||||||
console.log(v.asPreservesText());
|
console.log(fromSturdyRef(v).asPreservesText());
|
||||||
console.log(sturdyEncode(fromSturdyRef(v)).toHex());
|
console.log(sturdyEncode(fromSturdyRef(v)).toHex());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue