[#1920] cli: Print used RPC timeout in verbose exec

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
This commit is contained in:
Leonard Lyubich 2022-10-25 10:05:10 +04:00 committed by fyrchik
parent 9a0824766c
commit 7f54462e60

View file

@ -55,6 +55,8 @@ func GetSDKClient(key *ecdsa.PrivateKey, addr network.Address) (*client.Client,
// for too long.
prmDial.SetTimeout(timeout)
prmDial.SetStreamTimeout(timeout)
common.PrintVerbose("Set request timeout to %s.", timeout)
}
c.Init(prmInit)