mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
[client] Improve coinselection & verbosity (#104)
* cli logs + handle dust amount * add wallet initialized * Update client/common.go Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com> Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com> --------- Signed-off-by: Louis Singer <41042567+louisinger@users.noreply.github.com> Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com>
This commit is contained in:
@@ -133,5 +133,10 @@ func initWallet(ctx *cli.Context, key, password string) error {
|
||||
"public_key": publicKey,
|
||||
}
|
||||
|
||||
return setState(state)
|
||||
if err := setState(state); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Println("wallet initialized")
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user