mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-19 18:47:37 +01:00
nip60: small fixes.
This commit is contained in:
@@ -29,7 +29,7 @@ func (w *Wallet) ReceiveToken(ctx context.Context, serializedToken string) error
|
||||
switch nut10Secret.Kind {
|
||||
case nut10.P2PK:
|
||||
swapOpts = append(swapOpts, WithSignedOutputs())
|
||||
proofs[i].Witness, err = signInput(w.PrivateKey, w.PublicKey, proof, nut10Secret)
|
||||
proofs[i].Witness, err = signInput(w.PrivateKey, proof)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to sign locked proof %d: %w", i, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user