aboutsummaryrefslogtreecommitdiffstats
path: root/callback_handler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'callback_handler_test.go')
-rw-r--r--callback_handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/callback_handler_test.go b/callback_handler_test.go
index 50b4ab5..e303a70 100644
--- a/callback_handler_test.go
+++ b/callback_handler_test.go
@@ -43,7 +43,7 @@ func ExampleCallbackHandler() {
// Request a transfer and register a callback for it
clnt := xmrpay.New(xmrPaySrvUrl)
- resp, cb, err := clnt.ReceiveWithCallback(context.Background(), 123, "lorem ipsum", cbHlr)
+ resp, cb, err := clnt.NewTxWithCallback(context.Background(), 123, "lorem ipsum", cbHlr)
if err != nil {
log.Fatal(err)
}