We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
starcoin.js 版本 1.8.0
通过 utils.multiSign.generateMultiEd25519KeyShard 获取多签 shardAccount
utils.multiSign.generateMultiEd25519KeyShard
shardAccount
然后签名交易时 utils.multiSign.generateMultiEd25519SignatureShard(shardAccount, rawUserTransaction);
utils.multiSign.generateMultiEd25519SignatureShard(shardAccount, rawUserTransaction);
报错:
node_modules/@starcoin/starcoin/dist/starcoin.js:8024 return Promise.resolve(Promise.all(Object.keys(multiEd25519KeyShard.private_keys).map(function (k) { ^ TypeError: Cannot convert undefined or null to object`
console 输出 shardAccount.private_keys 是 undefined
参照的是 https://github.com/starcoinorg/starcoin.js/blob/v1.8.0/src/utils/multi-sign.spec.ts 中的 first multi sign
first multi sign
The text was updated successfully, but these errors were encountered:
这个是我调用错了,现在没问题了
Sorry, something went wrong.
No branches or pull requests
starcoin.js 版本 1.8.0
通过
utils.multiSign.generateMultiEd25519KeyShard
获取多签shardAccount
然后签名交易时
utils.multiSign.generateMultiEd25519SignatureShard(shardAccount, rawUserTransaction);
报错:
console 输出 shardAccount.private_keys 是 undefined
参照的是 https://github.com/starcoinorg/starcoin.js/blob/v1.8.0/src/utils/multi-sign.spec.ts 中的
first multi sign
The text was updated successfully, but these errors were encountered: