We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3d7eb commit 42b83e9Copy full SHA for 42b83e9
actions/v2/users/address.go
@@ -3,14 +3,14 @@ package users
3
import (
4
"net/http"
5
6
- "github.com/gin-gonic/gin"
7
-
8
"github.com/bitcoin-sv/spv-wallet/api"
9
"github.com/bitcoin-sv/spv-wallet/engine/spverrors"
10
"github.com/bitcoin-sv/spv-wallet/engine/v2/addresses/addressesmodels"
11
"github.com/bitcoin-sv/spv-wallet/server/reqctx"
+ "github.com/gin-gonic/gin"
12
)
13
+// CreateAddress creates a new paymail address for the user.
14
func (s *APIUsers) CreateAddress(c *gin.Context) {
15
userContext := reqctx.GetUserContext(c)
16
userID, err := userContext.ShouldGetUserID()
0 commit comments