okx / go-wallet-sdk

Multi-chain golang signature sdk, supports bitcoin, ethereum, aptos, cosmos, etc.
MIT License
363 stars 130 forks source link

solana issue #34

Closed YousZ closed 7 months ago

YousZ commented 8 months ago

image 在使用PrivateKeyFromBase58方法时,对传入私钥格式并没有进行检验,所以随意传入参数都可以进行base58进行解码。

yanminmin commented 7 months ago

Yes, these judgments can be added.