Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
update so it works with btcpayserver.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Aug 11, 2021
1 parent 64013ae commit f1652aa
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dist: $(shell find . -name "*.go") spark-wallet/client/dist
mkdir -p dist
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm freebsd/amd64 openbsd/amd64" -output="dist/sparko_{{.OS}}_{{.Arch}}"
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm linux/arm64 freebsd/amd64 openbsd/amd64" -output="dist/sparko_{{.OS}}_{{.Arch}}"

sparko: $(shell find . -name "*.go") spark-wallet/client/dist/app.js
go build -o ./sparko
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.16
require (
github.com/NYTimes/gziphandler v1.1.1
github.com/fiatjaf/go-lnurl v1.2.0
github.com/fiatjaf/lightningd-gjson-rpc v1.0.1
github.com/fiatjaf/lightningd-gjson-rpc v1.4.0
github.com/gorilla/mux v1.7.4
github.com/gorilla/securecookie v1.1.1
github.com/rs/cors v1.7.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo
github.com/fiatjaf/go-lnurl v1.0.0/go.mod h1:BqA8WXAOzntF7Z3EkVO7DfP4y5rhWUmJ/Bu9KBke+rs=
github.com/fiatjaf/go-lnurl v1.2.0 h1:3x2VYqQN1BIA+m67PhdWJR37PGWcPRZzWQX3BSLLPlY=
github.com/fiatjaf/go-lnurl v1.2.0/go.mod h1:BqA8WXAOzntF7Z3EkVO7DfP4y5rhWUmJ/Bu9KBke+rs=
github.com/fiatjaf/lightningd-gjson-rpc v1.0.1 h1:ERBKSzUyYm1WiFrPNr/TVTOJ8B9iotgG1END4DpelE4=
github.com/fiatjaf/lightningd-gjson-rpc v1.0.1/go.mod h1:SQGA0qcY2qypaMXDQlE5V5+2MnLZzQ7NzfRsScliFeE=
github.com/fiatjaf/lightningd-gjson-rpc v1.4.0 h1:Iv5tt4YuNoSMfR39wiV0tqnHYTJ85omAKuUXbBFvpt0=
github.com/fiatjaf/lightningd-gjson-rpc v1.4.0/go.mod h1:SQGA0qcY2qypaMXDQlE5V5+2MnLZzQ7NzfRsScliFeE=
github.com/fiatjaf/ln-decodepay v1.0.0 h1:1YUMjvLock+BicMNwoZ/OA3oG2ZYEaJ8AzdS6EGVMTQ=
github.com/fiatjaf/ln-decodepay v1.0.0/go.mod h1:/LWK+ZUa3i8MqbRjIMAiVQS2+NbhwKWlwib2n446cMQ=
github.com/frankban/quicktest v1.2.2/go.mod h1:Qh/WofXFeiAFII1aEBu529AtJo6Zg2VHscnEsbBnJ20=
Expand Down
2 changes: 1 addition & 1 deletion invoicewithdescriptionhash/cmd/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dist: $(shell find .. -name "*.go")
mkdir -p dist
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm freebsd/amd64" -output="dist/invoicewithdescriptionhash_{{.OS}}_{{.Arch}}"
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm linux/arm64 freebsd/amd64" -output="dist/invoicewithdescriptionhash_{{.OS}}_{{.Arch}}"

invoicewithdescriptionhash: $(shell find . -name "*.go")
go build -o ./invoicewithdescriptionhash
2 changes: 1 addition & 1 deletion invoicewithdescriptionhash/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func main() {
p := plugin.Plugin{
Name: "invoicewithdescriptionhash",
Version: "v1.0",
Version: "v1.2",
Options: []plugin.Option{},
RPCMethods: []plugin.RPCMethod{
invoicewithdescriptionhash.InvoiceWithDescriptionHashMethod,
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var sparkWallet, _ = fs.Sub(static, "spark-wallet/client/dist")
func main() {
p := plugin.Plugin{
Name: "sparko",
Version: "v2.6",
Version: "v2.8",
Options: []plugin.Option{
{"sparko-host", "string", "127.0.0.1", "http(s) server listen address"},
{"sparko-port", "string", DEFAULTPORT, "http(s) server port"},
Expand Down
2 changes: 1 addition & 1 deletion spark-wallet

0 comments on commit f1652aa

Please sign in to comment.