|
From: <pe...@us...> - 2004-01-21 23:41:05
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/contracts
In directory sc8-pr-cvs1:/tmp/cvs-serv19215/src/java/org/neuclear/asset/contracts
Modified Files:
Asset.java
Log Message:
Started the unit tests for the new payment message format.
Index: Asset.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/contracts/Asset.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Asset.java 10 Jan 2004 00:00:44 -0000 1.12
--- Asset.java 21 Jan 2004 23:41:02 -0000 1.13
***************
*** 32,35 ****
--- 32,38 ----
$Id$
$Log$
+ Revision 1.13 2004/01/21 23:41:02 pelle
+ Started the unit tests for the new payment message format.
+
Revision 1.12 2004/01/10 00:00:44 pelle
Implemented new Schema for Transfer*
***************
*** 125,128 ****
--- 128,139 ----
}
+ //TODO drop. This is for testing purposes only
+ public Asset(final String serviceurl,final PublicKey pub, final int decimal, final double minimumTransaction) {
+ super(pub);
+ this.serviceurl=serviceurl;
+ this.decimal = decimal;
+ this.multiplier = (int) Math.round(Math.pow(10, -decimal));
+ this.minimumTransaction = minimumTransaction;
+ }
/**
|