From 18974fde1dad6ac3694c2c886a0a1fc74975079b Mon Sep 17 00:00:00 2001
From: jl777 <jameslee777@yahoo.com>
Date: Mon, 10 Oct 2016 05:46:02 -0300
Subject: [PATCH] test

---
 iguana/iguana_notary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c
index d3404c679..b5ef39a8b 100755
--- a/iguana/iguana_notary.c
+++ b/iguana/iguana_notary.c
@@ -378,7 +378,7 @@ int32_t dpow_message_utxo(bits256 *hashmsgp,bits256 *txidp,int32_t *voutp,bits25
 int32_t dpow_rwsigbuf(int32_t rwflag,uint8_t *data,uint8_t *sig,int32_t *siglenp,uint64_t *maskp,int32_t *senderindp,int32_t *lastkp)
 {
     int32_t len = 0;
-    len += iguana_rwnum(0,&data[len],sizeof(*maskp),(uint8_t *)maskp);
+    len += iguana_rwnum(rwflag,&data[len],sizeof(*maskp),(uint8_t *)maskp);
     if ( rwflag != 0 )
     {
         data[len++] = *senderindp;