Skip to content

Commit

Permalink
popmd/wasm: rename unused 'this' param to '_'
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing committed Jun 14, 2024
1 parent 34052a9 commit 396b6ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/popminer/dispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func startPoPMiner(_ js.Value, args []js.Value) (any, error) {
// TODO(joshuasing): dispatch event on failure
pmMtx.Lock()
defer pmMtx.Unlock()
pm.err = err // Theoretically this can logic race unless we unset om
pm.err = err // Theoretically this can logic race unless we unset pm
}
}()

Expand Down Expand Up @@ -401,7 +401,7 @@ func bitcoinInfo(_ js.Value, _ []js.Value) (any, error) {
}, nil
}

func bitcoinUTXOs(this js.Value, args []js.Value) (any, error) {
func bitcoinUTXOs(_ js.Value, args []js.Value) (any, error) {
log.Tracef("bitcoinUTXOs")
defer log.Tracef("bitcoinUTXOs exit")

Expand Down

0 comments on commit 396b6ea

Please sign in to comment.