byte[][] publicKey = new byte[l][n];
for( int i = 0; i < secretKey.length; i++) {
</BUG>
otsAdrs.setChainAddress(i);
<BUG>publicKey[i] = chain(secretKey[i], 0, w-1, seed, otsAdrs);
</BUG>
}
<BUG>return publicKey;
}
public void sign(byte[][] message, byte[] seed, OTSHashAddress otsAdrs) {
</BUG>
byte[][] signature = new byte[l][n];

byte[][] publicKey = new byte[l][n];
for( int i = 0; i < privateKey.length; i++) {
otsAdrs.setChainAddress(i);
publicKey[i] = chain(privateKey[i], 0, w-1, seed, otsAdrs);
}
this.publicKey = publicKey;
}
public byte[][]sign(byte[] message, byte[] seed, OTSHashAddress otsAdrs) {
byte[][] signature = new byte[l][n];
