Skip to content

Commit e0d18c6

Browse files
committed
rpcserver+taprpc: fix typo, refer to correct RPC
The ImportProof RPC was deprecated, the InsertProof is the one that should be used (for insertion into the universe).
1 parent 2165a00 commit e0d18c6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

rpcserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8871,7 +8871,7 @@ func (r *rpcServer) syncAssetGroup(ctx context.Context,
88718871
// involved and the recipient is aware of the transfer through an out-of-band
88728872
// protocol but the daemon hasn't been informed about the completion of the
88738873
// transfer. For this to work, the proof must already be in the recipient's
8874-
// local universe (e.g. through the use of the universerpc.ImportProof RPC or
8874+
// local universe (e.g. through the use of the universerpc.InsertProof RPC or
88758875
// the universe proof courier and universe sync mechanisms) and this call
88768876
// simply instructs the daemon to detect the transfer as an asset it owns.
88778877
func (r *rpcServer) RegisterTransfer(ctx context.Context,

taprpc/taprootassets.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ service TaprootAssets {
149149
involved and the recipient is aware of the transfer through an out-of-band
150150
protocol but the daemon hasn't been informed about the completion of the
151151
transfer. For this to work, the proof must already be in the recipient's
152-
local universe (e.g. through the use of the universerpc.ImportProof RPC or
152+
local universe (e.g. through the use of the universerpc.InsertProof RPC or
153153
the universe proof courier and universe sync mechanisms) and this call
154154
simply instructs the daemon to detect the transfer as an asset it owns.
155155
*/

taprpc/taprootassets.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@
591591
},
592592
"/v1/taproot-assets/assets/transfers/register": {
593593
"post": {
594-
"summary": "RegisterTransfer informs the daemon about a new inbound transfer that has\nhappened. This is used for interactive transfers where no TAP address is\ninvolved and the recipient is aware of the transfer through an out-of-band\nprotocol but the daemon hasn't been informed about the completion of the\ntransfer. For this to work, the proof must already be in the recipient's\nlocal universe (e.g. through the use of the universerpc.ImportProof RPC or\nthe universe proof courier and universe sync mechanisms) and this call\nsimply instructs the daemon to detect the transfer as an asset it owns.",
594+
"summary": "RegisterTransfer informs the daemon about a new inbound transfer that has\nhappened. This is used for interactive transfers where no TAP address is\ninvolved and the recipient is aware of the transfer through an out-of-band\nprotocol but the daemon hasn't been informed about the completion of the\ntransfer. For this to work, the proof must already be in the recipient's\nlocal universe (e.g. through the use of the universerpc.InsertProof RPC or\nthe universe proof courier and universe sync mechanisms) and this call\nsimply instructs the daemon to detect the transfer as an asset it owns.",
595595
"operationId": "TaprootAssets_RegisterTransfer",
596596
"responses": {
597597
"200": {

taprpc/taprootassets_grpc.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)