bnb-chain / greenfield-cmd

support cmd tool for Greenfield
GNU Lesser General Public License v3.0
27 stars 12 forks source link

fix: fix group owner logic #70

Closed flywukong closed 1 year ago

flywukong commented 1 year ago

Description

At present, the group owner is obtained from the client.GetDefaultAccount() interface, but this interface must provide a private key, and the query interface such as head groupmember does not provide a private key, and a panic will occur. The repair method is to obtain it from the keystore user's address

Rationale

avoid panic error when get Group owner

Example

NA

Changes

Notable changes: