Closed 6r1d closed 1 year ago
Judging from the error message following changes should work
let key = KeyPair::generate()?;
- let account = Account::new(account_id.clone(), key.public_key());
+ let account = Account::new(account_id.clone(), vec![key.public_key().clone()]);
GIT commit hash
9273a912c8a97f9ce1bfaa302c7192554f7abf00
, April 19, 2023Minimum working example
Expected behaviour
An account should be created.
Actual behaviour
Operating system
Fedora with kernel 6.4.7-200.fc38.x86_64
LibC type and version
GNU libc 2.37
Current environment
Source code build
Who can help?
No response