[Webfunds-commits] java/webfunds/client/sox SOXWallet.java

Ian Grigg iang@cypherpunks.ai
Sun, 11 Jun 2000 18:31:25 -0400 (AST)


iang        00/06/11 18:31:25

  Modified:    webfunds/client/sox SOXWallet.java
  Log:
  added a description printing to the question on payments

Revision  Changes    Path
1.120     +7 -1      java/webfunds/client/sox/SOXWallet.java

Index: SOXWallet.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/SOXWallet.java,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- SOXWallet.java	2000/06/05 02:43:22	1.119
+++ SOXWallet.java	2000/06/11 22:31:25	1.120
@@ -1,4 +1,4 @@
-/* $Id: SOXWallet.java,v 1.119 2000/06/05 02:43:22 gelderen Exp $
+/* $Id: SOXWallet.java,v 1.120 2000/06/11 22:31:25 iang Exp $
  *
  * Copyright (c) Systemics Ltd 1995-2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -23,9 +23,11 @@
 import webfunds.client.WalletContext;
 import webfunds.client.WalletInterface;
 import webfunds.client.sox.StoreAccountStore;
+
 import webfunds.ricardian.Contract;
 import webfunds.ricardian.ContractStore;
 import webfunds.ricardian.SOXServerException;
+
 import webfunds.sox.Account;
 import webfunds.sox.AccountId;
 import webfunds.sox.Armoury;
@@ -43,8 +45,10 @@
 import webfunds.sox.SOXSubAccountException;
 import webfunds.sox.SubAccount;
 import webfunds.sox.ValueAccount;
+
 import webfunds.store.Store;
 import webfunds.store.StoreException;
+
 import webfunds.utils.Debug;
 import webfunds.utils.Hex;
 import webfunds.utils.Panic;
@@ -489,10 +493,12 @@
                 am = contract.getAmount(amount);
                 name = contract.getName();
             }
+            String descString = Hex.printable(desc);
 
             String q = "There is not enough for a payment of\n" +
                        "\n" +
             "                   " + am + " " + name + "\n" +
+            "                   \"" + descString + "\"\n" +
                        "\n" +
                        "and it may bounce when deposited!\n\n\n" +
                        "Are you sure you want to make this payment?";