mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 20:24:21 +01:00
[Client] Add vtxo expiration details to balance & Fix coin selection
* add expiry details in balance command * coin selection: sort vtxos by olderFirst * rename type * balance: add next expiration * add next expiration in offchain_balance json * print duration in nextExpiration * fix dust coin selection * refactor sort
This commit is contained in:
@@ -110,10 +110,7 @@ func initWallet(ctx *cli.Context, key, password string) error {
|
||||
|
||||
cypher := NewAES128Cypher()
|
||||
|
||||
arkNetwork, _, err := getNetwork()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
arkNetwork, _ := getNetwork()
|
||||
|
||||
publicKey, err := common.EncodePubKey(arkNetwork.PubKey, privateKey.PubKey())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user