reference unmerged commit in milagro
diff --git a/Dockerfile b/Dockerfile
index 91b4f44..5b00e62 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -42,6 +42,7 @@
 # install AMCL
 RUN git clone https://github.com/apache/incubator-milagro-crypto-c.git && \
     cd incubator-milagro-crypto-c && \
+    git checkout b4ddc1497cba42fe7a262016794194f75569d10c && \
     mkdir build && \
     cd build && \
     cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D AMCL_CHUNK=64 -D AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PAILLIER=ON -D BUILD_PYTHON=OFF -D BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=OFF -D BUILD_X509=OFF -D CMAKE_INSTALL_PREFIX=/usr/local .. && \
diff --git a/README.md b/README.md
index d46afd8..9ea5115 100644
--- a/README.md
+++ b/README.md
@@ -66,6 +66,7 @@
 ```sh
 git clone https://github.com/apache/incubator-milagro-crypto-c.git 
 cd incubator-milagro-crypto-c
+git checkout b4ddc1497cba42fe7a262016794194f75569d10c
 mkdir build
 cd build
 cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D AMCL_CHUNK=64 -D AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PAILLIER=ON -D BUILD_PYTHON=ON -D BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=ON -D BUILD_X509=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..
diff --git a/scripts/buildAMCL.sh b/scripts/buildAMCL.sh
index 9f16ed9..da7278b 100755
--- a/scripts/buildAMCL.sh
+++ b/scripts/buildAMCL.sh
@@ -13,6 +13,7 @@
 
 git clone https://github.com/apache/incubator-milagro-crypto-c.git
 cd incubator-milagro-crypto-c
+git checkout b4ddc1497cba42fe7a262016794194f75569d10c
 mkdir build
 cd build
 cmake -D CMAKE_BUILD_TYPE=Debug -D BUILD_SHARED_LIBS=ON -D DEBUG_NORM=OFF -D AMCL_CHUNK=64 -D AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PAILLIER=ON -D BUILD_PYTHON=OFF -D BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=ON -D BUILD_X509=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..