mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-11 09:58:49 +00:00
view: basic req functionality.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"slices"
|
||||
"strings"
|
||||
@@ -63,7 +62,7 @@ func updateEvent() {
|
||||
if currentKeyer != nil {
|
||||
signAndFinalize := func() {
|
||||
if currentKeyer != nil {
|
||||
if err := currentKeyer.SignEvent(context.Background(), &result); err == nil {
|
||||
if err := currentKeyer.SignEvent(ctx, &result); err == nil {
|
||||
finalize()
|
||||
} else {
|
||||
statusLabel.SetText("failed to sign: " + err.Error())
|
||||
|
||||
Reference in New Issue
Block a user