Skip to content

Commit 3babc50

Browse files
committed
add more MIWs
1 parent ed50ce2 commit 3babc50

File tree

2 files changed

+967
-23
lines changed

2 files changed

+967
-23
lines changed

Diff for: cmd/live.go

+15
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,21 @@ func live(_ *cobra.Command, _ []string) {
165165
//
166166
wallets := getWallets(nodes)
167167

168+
//
169+
// MIWs
170+
//
171+
miwSpinner := style.GetSpinner("setting up MIWs...")
172+
_ = miwSpinner.Start()
173+
174+
wwatcher.LoadMIWs()
175+
176+
if len(wwatcher.MIWs) > 0 {
177+
miwSpinner.StopMessage(fmt.Sprint(fmt.Sprint(style.BoldStyle.Render(fmt.Sprint(len(wwatcher.MIWs))), " MIWs loaded", "\n")))
178+
_ = miwSpinner.Stop()
179+
} else {
180+
_ = miwSpinner.StopFail()
181+
}
182+
168183
//
169184
// initialize collections
170185
//

0 commit comments

Comments
 (0)