[bisq-network/bisq] Add api method 'getpaymentacctform' (#4819)

Stan notifications at github.com
Tue Dec 1 16:11:19 CET 2020


@ghubstan commented on this pull request.



> @@ -529,6 +555,23 @@ private static Method getMethodFromCmd(String methodName) {
         return Method.valueOf(methodName.toLowerCase());
     }
 
+    private static void saveFileToDisk(String prefix, String suffix, String text) {
+        String timestamp = Long.toUnsignedString(new Date().getTime());
+        String relativeFileName = prefix + "_" + timestamp + suffix;
+        try {
+            Path path = Paths.get(relativeFileName);

Yes, the file with a timestamp in its name is written to the active directory from where cli is run, or what I would call the current working directory.  The filename can be changed to anything, anywhere, then  be used as the single argument to `createpaymentacct`.  If the file is in the active directory, the path does not need to be specified, e.g.,
`$ createpaymentacct zelle_form.json`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4819#discussion_r533487483
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201201/4f91556a/attachment.htm>


More information about the bisq-github mailing list