From 2b32130a4a63a2625b7febb5393d4a544e58e818 Mon Sep 17 00:00:00 2001 From: Ceyhun Onur Date: Tue, 27 Dec 2022 17:45:17 +0300 Subject: [PATCH] fix wallet init --- cmd/chain/create/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/chain/create/cmd.go b/cmd/chain/create/cmd.go index 877837c..30b31b4 100644 --- a/cmd/chain/create/cmd.go +++ b/cmd/chain/create/cmd.go @@ -41,7 +41,7 @@ func createFunc(c *cobra.Command, args []string) error { // NewWalletFromURI fetches the available UTXOs owned by [kc] on the network // that [uri] is hosting. walletSyncStartTime := time.Now() - wallet, err := primary.NewWalletFromURI(ctx, config.URI, kc) + wallet, err := primary.NewWalletWithTxs(ctx, config.URI, kc, config.SubnetID) if err != nil { return err }