From 10b43cb304ad0fc042d406f58b58c356897fa3c0 Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Tue, 12 Apr 2022 21:10:58 +0200 Subject: [PATCH] doc: update PFM spec --- x/payment/spec/docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/payment/spec/docs.md b/x/payment/spec/docs.md index cb238b1436..83f3c572f0 100644 --- a/x/payment/spec/docs.md +++ b/x/payment/spec/docs.md @@ -113,7 +113,7 @@ if err != nil { } // query for account information necessary to sign a valid tx -err = keyringSigner.QueryAccount(ctx, grpcClientConn) +err = keyringSigner.QueryAccountNumber(ctx, grpcClientConn) if err != nil { return err } @@ -121,7 +121,7 @@ if err != nil { // generate the signatures for each `MsgPayForMessage` using the `KeyringSigner`, // then set the gas limit for the tx gasLimOption := types.SetGasLimit(200000) -err = pfmMsg.SignShareCommitments(keyringSigner, gasLimOption) +err = wpfmMsg.SignShareCommitments(keyringSigner, gasLimOption) if err != nil { return err }