From aca20feb5319ae8de820d98ff292b0b059e965d4 Mon Sep 17 00:00:00 2001 From: perissology Date: Tue, 26 Sep 2017 12:06:45 -0700 Subject: [PATCH 1/2] return plugin in getNoteManager --- contracts/LiquidPledgingBase.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/LiquidPledgingBase.sol b/contracts/LiquidPledgingBase.sol index a896637..d8d20a2 100644 --- a/contracts/LiquidPledgingBase.sol +++ b/contracts/LiquidPledgingBase.sol @@ -232,7 +232,8 @@ contract LiquidPledgingBase { string name, uint64 commitTime, uint64 parentProject, - bool canceled) + bool canceled, + address plugin) { NoteManager storage m = findManager(idManager); managerType = m.managerType; @@ -241,6 +242,7 @@ contract LiquidPledgingBase { commitTime = m.commitTime; parentProject = m.parentProject; canceled = m.canceled; + plugin = m.plugin; } //////// From e68546451ebf4a7b1b66d34ff2619b75e2f1b970 Mon Sep 17 00:00:00 2001 From: perissology Date: Tue, 26 Sep 2017 12:26:26 -0700 Subject: [PATCH 2/2] explict type conversion for Plugin --- contracts/LiquidPledgingBase.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/LiquidPledgingBase.sol b/contracts/LiquidPledgingBase.sol index d8d20a2..7124ebe 100644 --- a/contracts/LiquidPledgingBase.sol +++ b/contracts/LiquidPledgingBase.sol @@ -242,7 +242,7 @@ contract LiquidPledgingBase { commitTime = m.commitTime; parentProject = m.parentProject; canceled = m.canceled; - plugin = m.plugin; + plugin = address(m.plugin); } ////////